public class GZip extends AbstractImplementation implements ExecutableIF, RuleIF
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
GZip()
Constructur used by MoMa.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the program.
|
void |
executePostMethods()
Execute post methods.
|
void |
executePreMethods()
Execute pre methods.
|
java.lang.String |
getId()
Get the id of the rule.
|
java.lang.String |
getPointTo()
Get the reference string of the rule.
|
java.lang.String |
getSessionRef()
Get the reference to the session.
|
java.lang.String |
getType()
Get a type identifier for the rule.
|
NameValueUnit[][] |
getValue()
Get the named value from rule.
|
void |
init()
Initialize the work.
|
boolean |
isPedantic()
Get the gather mode.
|
void |
setGathermode(java.lang.String mode)
Set the gather mode.
|
void |
setId(java.lang.String id)
Set the id of the rule.
|
void |
setPointTo(java.lang.String pointTo)
Set the reference string of the rule.
|
void |
setPostMethods(ExecutableIF[] arr)
Set an rray of implementations that must be executed after rule is executed.
|
void |
setPreMethods(ExecutableIF[] arr)
Set an rray of implementations that must be executed before rule is executed.
|
void |
setSessionRef(java.lang.String sessionRef)
Set the reference to the session.
|
void |
setType(java.lang.String type)
Set a type identifier for the rule.
|
void |
setValue(NameValueUnit[][] nvu)
Set the named values to rule.
|
void |
terminate()
Termination, clears class variables.
|
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
public void init() throws InitializationFailedException
AbstractImplementation
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.public void execute() throws ExecutableException
ExecutableIF
execute
in interface ExecutableIF
ExecutableException
- In case of execution error.ExecutableIF.execute()
public void terminate() throws TerminationException
terminate
in interface ExecutableIF
TerminationException
- In case of termination error.ExecutableIF.terminate()
public void setId(java.lang.String id)
RuleIF
public java.lang.String getId()
RuleIF
public void setPointTo(java.lang.String pointTo)
RuleIF
setPointTo
in interface RuleIF
public java.lang.String getPointTo()
RuleIF
getPointTo
in interface RuleIF
public void setGathermode(java.lang.String mode)
RuleIF
setGathermode
in interface RuleIF
mode
- the gather mode string.public boolean isPedantic()
RuleIF
isPedantic
in interface RuleIF
public void setValue(NameValueUnit[][] nvu) throws RuleException
RuleIF
setValue
in interface RuleIF
nvu
- The name value of the rule.RuleException
public NameValueUnit[][] getValue() throws RuleException
RuleIF
getValue
in interface RuleIF
RuleException
RuleIF.setValue(NameValueUnit[][] nvu)
public void setPreMethods(ExecutableIF[] arr)
RuleIF
setPreMethods
in interface RuleIF
arr
- the array of pre methods.public void setPostMethods(ExecutableIF[] arr)
RuleIF
setPostMethods
in interface RuleIF
arr
- the array of post methods.public void executePreMethods() throws ExecutableException
RuleIF
executePreMethods
in interface RuleIF
ExecutableException
RuleIF.executePostMethods()
public void executePostMethods() throws ExecutableException
RuleIF
executePostMethods
in interface RuleIF
ExecutableException
RuleIF.executePreMethods()
public void setSessionRef(java.lang.String sessionRef)
RuleIF
setSessionRef
in interface RuleIF
public java.lang.String getSessionRef()
RuleIF
getSessionRef
in interface RuleIF
public void setType(java.lang.String type)
RuleIF