public class DeploymentPlan extends Object
| Constructor and Description |
|---|
DeploymentPlan() |
| Modifier and Type | Method and Description |
|---|---|
List<Artifact> |
getArtifacts() |
<T> Maybe<T> |
getCustomAttribute(String attributeName,
Class<T> type,
boolean throwIfTypeMismatch)
Returns a present
Maybe of the custom attribute with the given name if the attribute is
non-null and is an instance of the given type. |
Map<String,Object> |
getCustomAttributes() |
String |
getDescription() |
String |
getName() |
String |
getOrigin() |
List<Service> |
getServices() |
String |
getSourceCode() |
static DeploymentPlan |
of(Map<String,Object> root)
Deprecated.
|
static DeploymentPlan |
of(Map<String,Object> root,
String optionalSourceCode) |
String |
toString() |
@Deprecated public static DeploymentPlan of(Map<String,Object> root)
public static DeploymentPlan of(Map<String,Object> root, String optionalSourceCode)
public String getName()
public String getDescription()
public String getOrigin()
public String getSourceCode()
public <T> Maybe<T> getCustomAttribute(String attributeName, Class<T> type, boolean throwIfTypeMismatch)
Maybe of the custom attribute with the given name if the attribute is
non-null and is an instance of the given type. Otherwise returns absent.
Does not remove the attribute from the custom attribute map.Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.