AMBARI-22325. Code cleanup: delete useless javadoc (adoroszlai)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4608b437 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4608b437 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4608b437 Branch: refs/heads/branch-feature-AMBARI-14714-blueprintv2 Commit: 4608b4375fd81a0e83b38150e1d660ddeea4c9d9 Parents: 31b15fb Author: Attila Doroszlai <adorosz...@hortonworks.com> Authored: Mon Nov 13 10:49:08 2017 +0100 Committer: Doroszlai, Attila <adorosz...@hortonworks.com> Committed: Fri Dec 8 20:24:24 2017 +0100 ---------------------------------------------------------------------- .../ambari/server/topology/BlueprintV2.java | 21 +------------------- 1 file changed, 1 insertion(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/4608b437/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintV2.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintV2.java b/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintV2.java index 9ca0248..f6314be 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintV2.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintV2.java @@ -27,7 +27,6 @@ import javax.annotation.Nonnull; import org.apache.ambari.server.controller.StackV2; import org.apache.ambari.server.orm.entities.BlueprintEntity; - /** * Blueprint representation. */ @@ -65,7 +64,7 @@ public interface BlueprintV2 { /** * @return associated stack ids **/ - public Collection<String> getStackIds(); + Collection<String> getStackIds(); StackV2 getStackById(String stackId); @@ -82,8 +81,6 @@ public interface BlueprintV2 { /** * Get service by Id - * @param serviceId - * @return */ Service getServiceById(ServiceId serviceId); @@ -102,8 +99,6 @@ public interface BlueprintV2 { @Nonnull Collection<String> getAllServiceNames(); - - /** * Get all of the service types represented in the blueprint. * @@ -122,9 +117,6 @@ public interface BlueprintV2 { /** * Get services by type from a service group. - * @param serviceGroup - * @param serviceType - * @return */ Collection<Service> getServicesFromServiceGroup(ServiceGroup serviceGroup, String serviceType); @@ -149,16 +141,11 @@ public interface BlueprintV2 { Collection<ComponentV2> getComponents(Service service); - /** * Get components by type from a service. - * @param service - * @param componentType - * @return */ Collection<ComponentV2> getComponentsByType(Service service, String componentType); - /** * Get the host groups which contain components for the specified service. * @@ -178,7 +165,6 @@ public interface BlueprintV2 { */ Collection<HostGroupV2> getHostGroupsForComponent(ComponentV2 component); - /** * Get the Blueprint cluster scoped configuration. * The blueprint cluster scoped configuration has the stack @@ -190,7 +176,6 @@ public interface BlueprintV2 { @Deprecated Configuration getConfiguration(); - /** * Get the Blueprint cluster scoped setting. * The blueprint cluster scoped setting has the setting properties @@ -200,7 +185,6 @@ public interface BlueprintV2 { */ Setting getSetting(); - /** * Get whether a component is enabled for auto start. * @@ -233,10 +217,7 @@ public interface BlueprintV2 { void validateTopology() throws InvalidTopologyException; /** - * * A config type is valid if there are services related to except cluster-env and global. - * @param configType - * @return */ boolean isValidConfigType(String configType);