Skip to content

Commit

Permalink
Making the utility methods public
Browse files Browse the repository at this point in the history
  • Loading branch information
manojlds committed Feb 23, 2015
1 parent 2bcd6c4 commit 4931aab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ public DockerCompositeCommand(Context taskContext, Config taskConfig) {

protected abstract void setupCommands(Context taskContext, Config taskConfig);

protected DockerCompositeCommand addCommand(Command command) {
public DockerCompositeCommand addCommand(Command command) {
commands.add(command);
return this;
}

protected DockerCompositeCommand runCommand(Command command) {
public DockerCompositeCommand runCommand(Command command) {
return addCommand(command);
}

protected DockerCompositeCommand then(Command command) {
public DockerCompositeCommand then(Command command) {
return addCommand(command);
}

Expand Down

0 comments on commit 4931aab

Please sign in to comment.