public class CustomDeployment extends Object implements Deployment
Option to define a custom collection of artifacts to deploy.
Copyright (c) 2014. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Method and Description |
|---|---|
static CustomDeployment |
empty()
Creates an empty
CustomDeployment. |
boolean |
equals(Object other) |
List<DeploymentArtifact> |
getDeploymentArtifacts(Platform platform,
com.oracle.bedrock.OptionsByType optionsByType)
Obtain the
DeploymentArtifacts to deploy. |
int |
hashCode() |
static CustomDeployment |
including(DeploymentArtifact... artifacts)
Creates a
CustomDeployment consisting of the specified DeploymentArtifacts. |
public List<DeploymentArtifact> getDeploymentArtifacts(Platform platform, com.oracle.bedrock.OptionsByType optionsByType) throws FileNotFoundException, IOException
DeploymentDeploymentArtifacts to deploy.getDeploymentArtifacts in interface Deploymentplatform - the Platform on which the Application will be deployedoptionsByType - the OptionsByType for realizing the ApplicationList of DeploymentArtifactsFileNotFoundException - when a DeploymentArtifact cannot be foundIOException - when a DeploymentArtifact fail to be created/accessedpublic static CustomDeployment empty()
CustomDeployment.CustomDeploymentpublic static CustomDeployment including(DeploymentArtifact... artifacts)
CustomDeployment consisting of the specified DeploymentArtifacts.artifacts - the DeploymentArtifactsCustomDeploymentCopyright © 2017. All rights reserved.