You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by be...@apache.org on 2017/11/14 11:14:49 UTC

[16/17] ambari git commit: AMBARI-22325. Code cleanup: delete useless javadoc (adoroszlai)

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/0c5232ae
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0c5232ae
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0c5232ae

Branch: refs/heads/branch-feature-AMBARI-14714-blueprintv2
Commit: 0c5232ae75f8dd99e92bfcf497fd9434f66a509e
Parents: 1a12110
Author: Attila Doroszlai <ad...@hortonworks.com>
Authored: Mon Nov 13 10:49:08 2017 +0100
Committer: Balazs Bence Sari <be...@apache.org>
Committed: Tue Nov 14 11:31:16 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/0c5232ae/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);