public class DeploymentOptions extends Object implements Serializable
Constructor and Description |
---|
DeploymentOptions() |
Modifier and Type | Method and Description |
---|---|
DeploymentLockStrategy |
getDeploymentLockStrategy()
Return the deployment lock strategy, the default is
DeploymentLockStrategyDefault |
String |
getIsolatedServiceProvider()
Returns the isolated service provider to deploy to, if specified.
|
StatementNameResolver |
getStatementNameResolver()
Returns the statement name resolver.
|
StatementUserObjectResolver |
getStatementUserObjectResolver()
Returns the statement user object resolver.
|
boolean |
isCompile()
Returns true (the default) to indicate that the deploy operation first performs a compile step for
each statement before attempting to start a statement.
|
boolean |
isCompileOnly()
Returns true to indicate to compile only and not start any statements, or false (the default) to
indicate that statements are started as part of the deploy.
|
boolean |
isFailFast()
Returns true (the default) to indicate that the first statement to fail starting will
fail the complete module deployment, or set to false to indicate that the operation should attempt
to start all statements regardless of any failures.
|
boolean |
isRollbackOnFail()
Returns true (the default) to indicate that the engine destroys any started statement when
a subsequent statement fails to start, or false if the engine should leave any started statement
as-is even when exceptions occur for one or more statements.
|
boolean |
isValidateOnly()
Returns true to validate the module syntax and EPL syntax only.
|
void |
setCompile(boolean compile)
Set this indicator to true (the default) to indicate that the deploy operation first performs a compile step for
each statement before attempting to start a statement.
|
void |
setCompileOnly(boolean compileOnly)
Set this indicator to true to indicate to compile only and not start any statements, or false (the default) to
indicate that statements are started as part of the deploy.
|
void |
setDeploymentLockStrategy(DeploymentLockStrategy deploymentLockStrategy)
Sets the deployment lock strategy, the default is
DeploymentLockStrategyDefault |
void |
setFailFast(boolean failFast)
Set to true (the default) to indicate that the first statement to fail starting will
fail the complete module deployment, or set to false to indicate that the operation should attempt
to start all statements regardless of any failures.
|
void |
setIsolatedServiceProvider(String name)
Sets the isolated service provider to deploy to, if specified the deployment occurs to the provider indicated.
|
void |
setRollbackOnFail(boolean rollbackOnFail)
Set this indicator to true (the default) to indicate that the engine destroys any started statement when
a subsequent statement fails to start, or false if the engine should leave any started statement
as-is even when exceptions occur for one or more statements.
|
void |
setStatementNameResolver(StatementNameResolver statementNameResolver)
Sets the statement name resolver.
|
void |
setStatementUserObjectResolver(StatementUserObjectResolver statementUserObjectResolver)
Sets the statement user object resolver.
|
void |
setValidateOnly(boolean validateOnly)
Set to true to validate the module syntax and EPL syntax only.
|
public boolean isCompile()
public void setCompile(boolean compile)
compile
- true for compile before start, false for start-onlypublic boolean isFailFast()
public void setFailFast(boolean failFast)
failFast
- indicatorpublic boolean isRollbackOnFail()
public void setRollbackOnFail(boolean rollbackOnFail)
rollbackOnFail
- indicatorpublic boolean isCompileOnly()
public void setCompileOnly(boolean compileOnly)
compileOnly
- indicatorpublic String getIsolatedServiceProvider()
public void setIsolatedServiceProvider(String name)
name
- isolated service provider namepublic boolean isValidateOnly()
public void setValidateOnly(boolean validateOnly)
validateOnly
- validate flagpublic StatementNameResolver getStatementNameResolver()
public void setStatementNameResolver(StatementNameResolver statementNameResolver)
statementNameResolver
- name resolverpublic StatementUserObjectResolver getStatementUserObjectResolver()
public void setStatementUserObjectResolver(StatementUserObjectResolver statementUserObjectResolver)
statementUserObjectResolver
- statement user object resolverpublic DeploymentLockStrategy getDeploymentLockStrategy()
DeploymentLockStrategyDefault
public void setDeploymentLockStrategy(DeploymentLockStrategy deploymentLockStrategy)
DeploymentLockStrategyDefault
deploymentLockStrategy
- lock strategy