|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAction
Provides access to properties and methods needed to manage general actions settings and funcationality.
The IAction interface describes the standard methods and properties needed for the action processor to identify the object as a valid action object. This interface provides a structured way for actions to be configured and processed within the action processor engine.
Method Summary | |
---|---|
void |
clearCounts()
Clears all the internal counters for this action. |
void |
evaluate(Object piObject,
Object[] pvarReturnedObjects)
Takes an input object and evaluates the object based on predefined criteria. |
int |
getActionCategory()
Indicates the type of action to be applied to data. |
String |
getAlias()
Allows user to specify or retrieve the alias name for this action. |
int |
getEvaluationCount()
Number of times this action has been evaluated. |
int |
getFilteredCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_FILTERED. |
String |
getLabel()
Allows user to specify or retreive tha label name for this action. |
int |
getModifiedCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_MODIFIED. |
String |
getName()
Developer-given name of the object. |
int |
getProcessedCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_PROCESSED. |
String |
getRulesDescription()
Describes what the action will do. |
int |
getStopProcessingCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_STOPPROCESSING. |
String |
getType()
Allows user to obtain a string describing the type of action object. |
double |
getVersion()
Allows user to retrieve the version number for this action. |
boolean |
isContinueProcessing()
Indicates whether or not the processing engine should stop processing further actions in the action list after this action finishes processing. |
boolean |
isEnabled()
Indicates whether or not an action in the action list is enabled for processing. |
boolean |
isStopProcessing()
Indicates if the processing engine should stop processing further actions in the action list after this action finishes processing. |
void |
setActionCategory(int pVal)
Indicates the type of action to be applied to data. |
void |
setAlias(String pbstrAlias)
Allows user to specify or retrieve the alias name for this action. |
void |
setIsEnabled(boolean pbvarIsEnabled)
Indicates whether or not an action in the action list is enabled for processing. |
void |
setLabel(String pbstrLabel)
Allows user to specify or retreive tha label name for this action. |
void |
setStopProcessing(boolean pbvarStopProcessing)
Indicates if the processing engine should stop processing further actions in the action list after this action finishes processing. |
Method Detail |
---|
double getVersion() throws IOException, AutomationException
This property allows the user to retrieve the version number for this action.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
The name property is a developer-given name of the object. This property cannot be changed and should be unique, such as the company ID or some other naming convention.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRulesDescription() throws IOException, AutomationException
This property describes what the action will do. This string should contain details about the configuration. This property is similar to the Microsoft Outlook rules "Rules Description" text.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isContinueProcessing() throws IOException, AutomationException
This property controls whether or not the processing engine should stop processing further actions in the action list after this action processes. The internal object must control the state of this property and must allow or return VARIANT_TRUE if this action did not successfully process the current action. The action processor must call Evaluate with a data object before this property is valid.
If the object successfully processed the data and internally it has been told to stop processing further actions, then the return value should be VARIANT_FALSE signifying to the action processor to stop processing actions.
Note: This property is not a copy of the property put_StopProcessing. The StopProcessing or write version simply enables whether or not this property is processed or returns a VARIANT_FALSE. If the StopProcessing property is false then this property is always TRUE. Otherwise the last Evaluate call determines the state.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getAlias() throws IOException, AutomationException
This property allows the user to specify or retrieve the alias name for this action.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAlias(String pbstrAlias) throws IOException, AutomationException
This property allows the user to specify or retrieve the alias name for this action.
pbstrAlias
- The pbstrAlias (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getLabel() throws IOException, AutomationException
This property allows the user to specify or retrieve the label name for this action.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabel(String pbstrLabel) throws IOException, AutomationException
This property allows the user to specify or retrieve the label name for this action.
pbstrLabel
- The pbstrLabel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getType() throws IOException, AutomationException
The type property allows a user to obtain a string describing the type of action object. This is generally a one word description.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEnabled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsEnabled(boolean pbvarIsEnabled) throws IOException, AutomationException
pbvarIsEnabled
- The pbvarIsEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStopProcessing(boolean pbvarStopProcessing) throws IOException, AutomationException
This property controls whether or not the processing engine should stop processing further actions in the action list after this action processes. This enables the ContinueProcessing property to return a VARIANT_FALSE if no further processing should take place.
pbvarStopProcessing
- The pbvarStopProcessing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void evaluate(Object piObject, Object[] pvarReturnedObjects) throws IOException, AutomationException
This method provides the entry point for the action processor to evaluate the data that is undergoing processing. This method takes a variant that is an object that implement either a IDatamessage or a IFeature interface.
piObject
- A reference to another Object (IUnknown) (in)pvarReturnedObjects
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isStopProcessing() throws IOException, AutomationException
This property controls whether or not the processing engine should stop processing further actions in the action list after this action processes. This enables the ContinueProcessing property to return a VARIANT_FALSE if no furtherprocessing should take place.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getEvaluationCount() throws IOException, AutomationException
This property is a count of the number of times this action has been evaluated.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getStopProcessingCount() throws IOException, AutomationException
This property counts the number of times this action has returned S_ACTIONPROCESSOR_MSG_STOPPROCESSING.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFilteredCount() throws IOException, AutomationException
This property is a count of the number of times this action has returned S_ACTIONPROCESSOR_MSG_FILTERED.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getModifiedCount() throws IOException, AutomationException
This property is a count of the number of times this action has returned S_ACTIONPROCESSOR_MSG_MODIFIED.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getProcessedCount() throws IOException, AutomationException
This property is a count of the number of times this action has returned S_ACTIONPROCESSOR_MSG_PROCESSED.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearCounts() throws IOException, AutomationException
This property clears all the internal counters for this action.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getActionCategory() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActionCategory(int pVal) throws IOException, AutomationException
pVal
- A com.esri.arcgis.trackinganalyst.enumActionCategory constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |