com.espertech.esper.client.deploy
Class DeploymentOptions

java.lang.Object
  extended by com.espertech.esper.client.deploy.DeploymentOptions
All Implemented Interfaces:
java.io.Serializable

public class DeploymentOptions
extends java.lang.Object
implements java.io.Serializable

Options for use in deployment of a module to control the behavior of the deploy operation.

See Also:
Serialized Form

Constructor Summary
DeploymentOptions()
           
 
Method Summary
 java.lang.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 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(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentOptions

public DeploymentOptions()
Method Detail

isCompile

public 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.

Returns:
true for compile before start, false for start-only

setCompile

public 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.

Parameters:
compile - true for compile before start, false for start-only

isFailFast

public 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.

Returns:
indicator

setFailFast

public 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.

Parameters:
failFast - indicator

isRollbackOnFail

public 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.

Returns:
indicator

setRollbackOnFail

public 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.

Parameters:
rollbackOnFail - indicator

isCompileOnly

public 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.

Returns:
indicator

setCompileOnly

public 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.

Parameters:
compileOnly - indicator

getIsolatedServiceProvider

public java.lang.String getIsolatedServiceProvider()
Returns the isolated service provider to deploy to, if specified.

Returns:
isolated service provider name

setIsolatedServiceProvider

public void setIsolatedServiceProvider(java.lang.String name)
Sets the isolated service provider to deploy to, if specified the deployment occurs to the provider indicated.

Parameters:
name - isolated service provider name

isValidateOnly

public boolean isValidateOnly()
Returns true to validate the module syntax and EPL syntax only. Use this option to not deploy any EPL statement, performing only syntax checking.

Returns:
validate flag

setValidateOnly

public void setValidateOnly(boolean validateOnly)
Set to true to validate the module syntax and EPL syntax only. Use this option to not deploy any EPL statement, performing only syntax checking.

Parameters:
validateOnly - validate flag

getStatementNameResolver

public StatementNameResolver getStatementNameResolver()
Returns the statement name resolver.

Returns:
statement name resolver

setStatementNameResolver

public void setStatementNameResolver(StatementNameResolver statementNameResolver)
Sets the statement name resolver.

Parameters:
statementNameResolver - name resolver

getStatementUserObjectResolver

public StatementUserObjectResolver getStatementUserObjectResolver()
Returns the statement user object resolver.

Returns:
statement user object resolver

setStatementUserObjectResolver

public void setStatementUserObjectResolver(StatementUserObjectResolver statementUserObjectResolver)
Sets the statement user object resolver.

Parameters:
statementUserObjectResolver - statement user object resolver

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com