Package ch.ivyteam.ivy.deployment
Class ProjectDeployment
- java.lang.Object
-
- ch.ivyteam.ivy.deployment.ProjectDeployment
-
public class ProjectDeployment extends Object
Provides methods to deploy projects on a server- API:
- This is a public API.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
deploy(File projectDirectory, IProcessModelVersion processModelVersion, DeploymentContext context)
Deploys an ivy project fromprojectDirectory
to theprocessModelVersion
.static void
deploy(File projectDirectory, IProcessModelVersion processModelVersion, String userName, String hostName, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IDeploymentLogger protocolLogger)
Deploys an ivy project fromprojectDirectory
to theprocessModelVersion
.static ProjectDeploymentValidator
newDeploymentValidator()
Returns theProjectDeploymentValidator
.
-
-
-
Method Detail
-
newDeploymentValidator
public static ProjectDeploymentValidator newDeploymentValidator()
Returns theProjectDeploymentValidator
. Don't use multipleProjectDeploymentValidator
s in parallel.- Returns:
- a new
ProjectDeploymentValidator
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
deploy
public static void deploy(File projectDirectory, IProcessModelVersion processModelVersion, String userName, String hostName, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IDeploymentLogger protocolLogger) throws Exception
Deploys an ivy project fromprojectDirectory
to theprocessModelVersion
.- Parameters:
projectDirectory
- the directory to read the ivy project fromprocessModelVersion
- the process model version to deploy the project to (you might need to create a PMV previously e.g. usingIProcessModel.createProcessModelVersion(String, String, String, int, String, String)
)userName
- name of the user who performs the deployment (used as information only)hostName
- hostName from which the project was deployed (used as information only)progressMonitor
- monitor to follow the progress, may be null.protocolLogger
- logger to inform about the deployment, may be null- Throws:
Exception
- if anything goes wrong during deployment- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
deploy
public static void deploy(File projectDirectory, IProcessModelVersion processModelVersion, DeploymentContext context) throws Exception
Deploys an ivy project fromprojectDirectory
to theprocessModelVersion
.- Parameters:
projectDirectory
- the directory to read the ivy project fromprocessModelVersion
- the process model version to deploy the project to (you might need to create a PMV previously e.g. usingIProcessModel.createProcessModelVersion(String, String, String, int, String, String)
)context
-- Throws:
Exception
- if anything goes wrong during deployment- Since:
- 7.1
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-