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, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorpublic void init()
throws InitializationFailedException
AbstractImplementationinit in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.public void execute()
throws ExecutableException
ExecutableIFexecute in interface ExecutableIFExecutableException - In case of execution error.ExecutableIF.execute()public void terminate()
throws TerminationException
terminate in interface ExecutableIFTerminationException - In case of termination error.ExecutableIF.terminate()public void setId(java.lang.String id)
RuleIFpublic java.lang.String getId()
RuleIFpublic void setPointTo(java.lang.String pointTo)
RuleIFsetPointTo in interface RuleIFpublic java.lang.String getPointTo()
RuleIFgetPointTo in interface RuleIFpublic void setGathermode(java.lang.String mode)
RuleIFsetGathermode in interface RuleIFmode - the gather mode string.public boolean isPedantic()
RuleIFisPedantic in interface RuleIFpublic void setValue(NameValueUnit[][] nvu) throws RuleException
RuleIFsetValue in interface RuleIFnvu - The name value of the rule.RuleExceptionpublic NameValueUnit[][] getValue() throws RuleException
RuleIFgetValue in interface RuleIFRuleExceptionRuleIF.setValue(NameValueUnit[][] nvu)public void setPreMethods(ExecutableIF[] arr)
RuleIFsetPreMethods in interface RuleIFarr - the array of pre methods.public void setPostMethods(ExecutableIF[] arr)
RuleIFsetPostMethods in interface RuleIFarr - the array of post methods.public void executePreMethods()
throws ExecutableException
RuleIFexecutePreMethods in interface RuleIFExecutableExceptionRuleIF.executePostMethods()public void executePostMethods()
throws ExecutableException
RuleIFexecutePostMethods in interface RuleIFExecutableExceptionRuleIF.executePreMethods()public void setSessionRef(java.lang.String sessionRef)
RuleIFsetSessionRef in interface RuleIFpublic java.lang.String getSessionRef()
RuleIFgetSessionRef in interface RuleIFpublic void setType(java.lang.String type)
RuleIF