public class EntityManagementUtils
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | EntityManagementUtils.CreationResult<T,U>container for operation which creates something and which wants to return both
 the items created and any pending create/start task | 
| Modifier and Type | Field and Description | 
|---|---|
| static ConfigKey<java.lang.Boolean> | WRAPPER_APP_MARKERA marker config value which indicates that an application was created automatically
 to allow the management of a non-app entity. | 
| Constructor and Description | 
|---|
| EntityManagementUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static EntityManagementUtils.CreationResult<java.util.List<Entity>,java.util.List<java.lang.String>> | addChildren(EntityLocal parent,
           java.lang.String yaml,
           java.lang.Boolean start) | 
| static EntityManagementUtils.CreationResult<java.util.List<Entity>,java.util.List<java.lang.String>> | addChildrenStarting(EntityLocal parent,
                   java.lang.String yaml) | 
| static java.util.List<Entity> | addChildrenUnstarted(EntityLocal parent,
                    java.lang.String yaml)adds entities from the given yaml, under the given parent; but does not start them | 
| static void | collapseSpec(EntitySpec<?> sourceToBeCollapsed,
            EntitySpec<?> targetToBeExpanded)worker method to combine specs | 
| static EntityManagementUtils.CreationResult<? extends Application,java.lang.Void> | createStarting(ManagementContext mgmt,
              AssemblyTemplate at) | 
| static <T extends Application>  | createStarting(ManagementContext mgmt,
              EntitySpec<T> appSpec) | 
| static EntityManagementUtils.CreationResult<? extends Application,java.lang.Void> | createStarting(ManagementContext mgmt,
              java.lang.String appSpec) | 
| static <T extends Application>  | createUnstarted(ManagementContext mgmt,
               AssemblyTemplate at)as  #createApplication(ManagementContext, EntitySpec)but for an assembly template | 
| static <T extends Application>  | createUnstarted(ManagementContext mgmt,
               EntitySpec<T> spec)creates an application from the given app spec, managed by the given management context | 
| static <T extends Application>  | createUnstarted(ManagementContext mgmt,
               java.lang.String yaml)as  #createApplication(ManagementContext, EntitySpec)but for a YAML spec | 
| static Maybe<CampPlatform> | getCampPlatform(ManagementContext mgmt)convenience for accessing camp | 
| static boolean | hasNoNameOrCustomKeysOrRoot(AssemblyTemplate template,
                           EntitySpec<?> spec)worker method to help determine whether child/children can be promoted | 
| static <T extends Application>  | start(T app) | 
public static final ConfigKey<java.lang.Boolean> WRAPPER_APP_MARKER
public static <T extends Application> T createUnstarted(ManagementContext mgmt, EntitySpec<T> spec)
public static Maybe<CampPlatform> getCampPlatform(ManagementContext mgmt)
public static <T extends Application> T createUnstarted(ManagementContext mgmt, java.lang.String yaml)
#createApplication(ManagementContext, EntitySpec) but for a YAML specpublic static <T extends Application> T createUnstarted(ManagementContext mgmt, AssemblyTemplate at)
#createApplication(ManagementContext, EntitySpec) but for an assembly templatepublic static <T extends Application> EntityManagementUtils.CreationResult<T,java.lang.Void> createStarting(ManagementContext mgmt, EntitySpec<T> appSpec)
public static EntityManagementUtils.CreationResult<? extends Application,java.lang.Void> createStarting(ManagementContext mgmt, java.lang.String appSpec)
public static EntityManagementUtils.CreationResult<? extends Application,java.lang.Void> createStarting(ManagementContext mgmt, AssemblyTemplate at)
public static <T extends Application> EntityManagementUtils.CreationResult<T,java.lang.Void> start(T app)
public static EntityManagementUtils.CreationResult<java.util.List<Entity>,java.util.List<java.lang.String>> addChildren(EntityLocal parent, java.lang.String yaml, java.lang.Boolean start)
public static java.util.List<Entity> addChildrenUnstarted(EntityLocal parent, java.lang.String yaml)
public static EntityManagementUtils.CreationResult<java.util.List<Entity>,java.util.List<java.lang.String>> addChildrenStarting(EntityLocal parent, java.lang.String yaml)
@Beta public static void collapseSpec(EntitySpec<?> sourceToBeCollapsed, EntitySpec<?> targetToBeExpanded)
@Beta public static boolean hasNoNameOrCustomKeysOrRoot(AssemblyTemplate template, EntitySpec<?> spec)