com.connecterra.ale.alevent
Class ImmutableAccessSpec

java.lang.Object
  extended bycom.connecterra.ale.alevent.ImmutableAccessSpec
All Implemented Interfaces:
AccessSpec

public abstract class ImmutableAccessSpec
extends java.lang.Object
implements AccessSpec


Constructor Summary
ImmutableAccessSpec()
           
 
Method Summary
 void setName(java.lang.String name)
          Set the name of this AccessSpec.
 void setOpSpecs(java.util.List opSpecs)
          Set the list of OpSpecs in this AccessSpec.
 void setStopOnError(boolean stopOnError)
          Sets the stopOnError flag for this access spec.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.connecterra.alepc.api.AccessSpec
addOpSpec, getName, getOpSpecs, getStopOnError
 

Constructor Detail

ImmutableAccessSpec

public ImmutableAccessSpec()
Method Detail

setName

public void setName(java.lang.String name)
Description copied from interface: AccessSpec
Set the name of this AccessSpec. This is used to associate the spec with the correct AccessReport in the PCWriteReport.

Specified by:
setName in interface AccessSpec

setOpSpecs

public void setOpSpecs(java.util.List opSpecs)
Description copied from interface: AccessSpec
Set the list of OpSpecs in this AccessSpec.

Specified by:
setOpSpecs in interface AccessSpec
Parameters:
opSpecs - the List of operation specs this access spec should perform
See Also:
getOpSpecs

setStopOnError

public void setStopOnError(boolean stopOnError)
Description copied from interface: AccessSpec
Sets the stopOnError flag for this access spec. If stopOnError is true, an access spec attempts to stop processing operations when it encounters an error

Specified by:
setStopOnError in interface AccessSpec
Parameters:
stopOnError - the new value for the Access Spec's stopOnError flag