Remove public keyword from interface methods.

This commit is contained in:
Noorul Islam K M 2013-10-30 17:44:14 +05:30 committed by Andrew Gaul
parent b2c44b4a53
commit 5354b680f8
10 changed files with 38 additions and 40 deletions

View File

@ -29,6 +29,6 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(CleanupStaleNodesAndClientsImpl.class)
public interface CleanupStaleNodesAndClients {
public void execute(String prefix, int secondsStale);
void execute(String prefix, int secondsStale);
}

View File

@ -29,7 +29,7 @@ import com.google.inject.ImplementedBy;
*/
@ImplementedBy(CreateNodeAndPopulateAutomaticAttributesImpl.class)
public interface CreateNodeAndPopulateAutomaticAttributes {
public Node execute(Node node);
Node execute(Node node);
public Node execute(String nodeName, Iterable<String> runList);
Node execute(String nodeName, Iterable<String> runList);
}

View File

@ -30,8 +30,8 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(DeleteAllClientsInListImpl.class)
public interface DeleteAllClientsInList {
public void execute(Iterable<String> names);
void execute(Iterable<String> names);
public void execute(ListeningExecutorService executor, Iterable<String> names);
void execute(ListeningExecutorService executor, Iterable<String> names);
}

View File

@ -29,8 +29,8 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(DeleteAllNodesInListImpl.class)
public interface DeleteAllNodesInList {
public void execute(Iterable<String> names);
void execute(Iterable<String> names);
public void execute(ListeningExecutorService executor, Iterable<String> names);
void execute(ListeningExecutorService executor, Iterable<String> names);
}

View File

@ -31,15 +31,15 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(ListClientsImpl.class)
public interface ListClients {
public Iterable<? extends Client> execute();
Iterable<? extends Client> execute();
public Iterable<? extends Client> execute(Predicate<String> clientNameSelector);
Iterable<? extends Client> execute(Predicate<String> clientNameSelector);
public Iterable<? extends Client> execute(Iterable<String> toGet);
Iterable<? extends Client> execute(Iterable<String> toGet);
public Iterable<? extends Client> execute(ListeningExecutorService executor);
Iterable<? extends Client> execute(ListeningExecutorService executor);
public Iterable<? extends Client> execute(ListeningExecutorService executor, Predicate<String> clientNameSelector);
Iterable<? extends Client> execute(ListeningExecutorService executor, Predicate<String> clientNameSelector);
public Iterable<? extends Client> execute(ListeningExecutorService executor, Iterable<String> toGet);
Iterable<? extends Client> execute(ListeningExecutorService executor, Iterable<String> toGet);
}

View File

@ -31,16 +31,15 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(ListCookbookVersionsImpl.class)
public interface ListCookbookVersions {
public Iterable<? extends CookbookVersion> execute();
Iterable<? extends CookbookVersion> execute();
public Iterable<? extends CookbookVersion> execute(Predicate<String> cookbookNameSelector);
Iterable<? extends CookbookVersion> execute(Predicate<String> cookbookNameSelector);
public Iterable<? extends CookbookVersion> execute(Iterable<String> cookbookNames);
Iterable<? extends CookbookVersion> execute(Iterable<String> cookbookNames);
public Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor);
Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor);
public Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor,
Predicate<String> cookbookNameSelector);
Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, Predicate<String> cookbookNameSelector);
public Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, Iterable<String> cookbookNames);
Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, Iterable<String> cookbookNames);
}

View File

@ -26,16 +26,15 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(ListEnvironmentsImpl.class)
public interface ListEnvironments {
public Iterable<? extends Environment> execute();
Iterable<? extends Environment> execute();
public Iterable<? extends Environment> execute(Predicate<String> environmentNameSelector);
Iterable<? extends Environment> execute(Predicate<String> environmentNameSelector);
public Iterable<? extends Environment> execute(Iterable<String> toGet);
Iterable<? extends Environment> execute(Iterable<String> toGet);
public Iterable<? extends Environment> execute(ListeningExecutorService executor);
Iterable<? extends Environment> execute(ListeningExecutorService executor);
public Iterable<? extends Environment> execute(ListeningExecutorService executor,
Predicate<String> environmentNameSelector);
Iterable<? extends Environment> execute(ListeningExecutorService executor, Predicate<String> environmentNameSelector);
public Iterable<? extends Environment> execute(ListeningExecutorService executor, Iterable<String> toGet);
Iterable<? extends Environment> execute(ListeningExecutorService executor, Iterable<String> toGet);
}

View File

@ -31,15 +31,15 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(ListNodesImpl.class)
public interface ListNodes {
public Iterable<? extends Node> execute();
Iterable<? extends Node> execute();
public Iterable<? extends Node> execute(Predicate<String> nodeNameSelector);
Iterable<? extends Node> execute(Predicate<String> nodeNameSelector);
public Iterable<? extends Node> execute(Iterable<String> toGet);
Iterable<? extends Node> execute(Iterable<String> toGet);
public Iterable<? extends Node> execute(ListeningExecutorService executor);
Iterable<? extends Node> execute(ListeningExecutorService executor);
public Iterable<? extends Node> execute(ListeningExecutorService executor, Predicate<String> nodeNameSelector);
Iterable<? extends Node> execute(ListeningExecutorService executor, Predicate<String> nodeNameSelector);
public Iterable<? extends Node> execute(ListeningExecutorService executor, Iterable<String> toGet);
Iterable<? extends Node> execute(ListeningExecutorService executor, Iterable<String> toGet);
}

View File

@ -31,15 +31,15 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(ListNodesInEnvironmentImpl.class)
public interface ListNodesInEnvironment {
public Iterable<? extends Node> execute(String environmentName);
Iterable<? extends Node> execute(String environmentName);
public Iterable<? extends Node> execute(String environmentName, Predicate<String> nodeNameSelector);
Iterable<? extends Node> execute(String environmentName, Predicate<String> nodeNameSelector);
public Iterable<? extends Node> execute(String environmentName, Iterable<String> toGet);
Iterable<? extends Node> execute(String environmentName, Iterable<String> toGet);
public Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName);
Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName);
public Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Predicate<String> nodeNameSelector);
Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Predicate<String> nodeNameSelector);
public Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Iterable<String> toGet);
Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Iterable<String> toGet);
}

View File

@ -29,5 +29,5 @@ import com.google.inject.ImplementedBy;
@ImplementedBy(UpdateAutomaticAttributesOnNodeImpl.class)
public interface UpdateAutomaticAttributesOnNode {
public void execute(String nodeName);
void execute(String nodeName);
}