Repository: stratos Updated Branches: refs/heads/master 3baf9114d -> bb28c542f
Add missing method signatures Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/bb28c542 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/bb28c542 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/bb28c542 Branch: refs/heads/master Commit: bb28c542fde87116b3b591ba363c96a981f090d5 Parents: 3baf911 Author: Gayan Gunarathne <[email protected]> Authored: Fri Jan 16 13:10:23 2015 +0530 Committer: Gayan Gunarathne <[email protected]> Committed: Fri Jan 16 14:00:52 2015 +0530 ---------------------------------------------------------------------- .../context/ApplicationChildContextFactory.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/bb28c542/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/dependency/context/ApplicationChildContextFactory.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/dependency/context/ApplicationChildContextFactory.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/dependency/context/ApplicationChildContextFactory.java index bb535f7..8bec36f 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/dependency/context/ApplicationChildContextFactory.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/dependency/context/ApplicationChildContextFactory.java @@ -83,6 +83,12 @@ public class ApplicationChildContextFactory { return startupOrder.substring(Constants.CARTRIDGE.length() + 1); } + /** + * Get cluster child context + * @param dataHolder Cluster Data holder + * @param isKillDependent Whether is this a kill dependant or not + * @return ApplicationChildContext + */ public static ApplicationChildContext getClusterChildContext(ClusterDataHolder dataHolder, boolean isKillDependent) { ApplicationChildContext applicationContext; @@ -92,6 +98,12 @@ public class ApplicationChildContextFactory { return applicationContext; } + /** + * Get the group child context + * @param id ID of the group + * @param isDependent Whether is this a dependant or not + * @return ApplicationChildContext + */ public static ApplicationChildContext getGroupChildContext(String id, boolean isDependent) { ApplicationChildContext applicationContext; applicationContext = new GroupChildContext(id,
