Package com.adobe.aio.cloudmanager
Interface ContentSet
-
public interface ContentSetA Content Set definition
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContentSet.PathDefinitionA path definition for a content set, containing a root path definition, and excluded sub paths.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete()Delete this content set definition.StringgetDescription()Description of the content set.StringgetId()The id of this Content Set.StringgetName()User-friendly name of this Content SetCollection<ContentSet.PathDefinition>getPathDefinitions()The path definitions within this content setStringgetProgramId()The id of the associated program context@NotNull ContentFlowstartFlow(@NotNull String srcEnvironmentId, @NotNull String destEnvironmentId, boolean includeAcl)Start a content flow between the specified environments, using the specified content set.voidupdate(String name, String description, Collection<ContentSet.PathDefinition> definitions)Update this content set with the changes.
-
-
-
Method Detail
-
getId
String getId()
The id of this Content Set.- Returns:
- the id
-
getProgramId
String getProgramId()
The id of the associated program context- Returns:
- the program id
-
getName
String getName()
User-friendly name of this Content Set- Returns:
- the name
-
getDescription
String getDescription()
Description of the content set.- Returns:
- the description
-
getPathDefinitions
Collection<ContentSet.PathDefinition> getPathDefinitions()
The path definitions within this content set- Returns:
- the path definitions
-
update
void update(String name, String description, Collection<ContentSet.PathDefinition> definitions) throws CloudManagerApiException
Update this content set with the changes. Any parameters not specified will be left in their current state.- Parameters:
name- the new name, ornullto leave unchangeddescription- the new description, ornullto leave unchangeddefinitions- the new definitions, ornullto leave unchanged- Throws:
CloudManagerApiException- when any error occurs
-
delete
void delete() throws CloudManagerApiExceptionDelete this content set definition.- Throws:
CloudManagerApiException- when any error occurs
-
startFlow
@NotNull @NotNull ContentFlow startFlow(@NotNull @NotNull String srcEnvironmentId, @NotNull @NotNull String destEnvironmentId, boolean includeAcl) throws CloudManagerApiException
Start a content flow between the specified environments, using the specified content set.- Parameters:
srcEnvironmentId- the id of the source environmentdestEnvironmentId- the id of the destination environmentincludeAcl- whether to include the content's ACL definitions- Returns:
- the content flow
- Throws:
CloudManagerApiException- when any error occurs
-
-