org.apache.uima.collection.impl.base_cpm.container
Interface CasProcessorController

All Known Implementing Classes:
ProcessingContainer, ProcessingContainer_Impl

public interface CasProcessorController


Field Summary
static int DISABLED
           
static int INITIALIZED
           
static int KILLED
           
static int NOTINITIALIZED
           
static int RUNNING
           
 
Method Summary
 CasProcessor getCasProcessor()
          Returns instance of CasProcessor
 int getStatus()
          Returns status of CasProcessor
 boolean isAbortable()
          Returns true if CasProcessor can be Aborted/Disabled.
 boolean isIntegrated()
          Returns true if this is a Integrated CasProcessor
 boolean isLocal()
          Returns true if this is a Locally Deployed CasProcessor ( Same machine, different JVM )
 boolean isRemote()
          Returns true if this is a Remotely Deployed CasProcessor
 void setStatus(int aStatus)
          Sets status of CasProcessor
 

Field Detail

NOTINITIALIZED

static final int NOTINITIALIZED
See Also:
Constant Field Values

INITIALIZED

static final int INITIALIZED
See Also:
Constant Field Values

RUNNING

static final int RUNNING
See Also:
Constant Field Values

DISABLED

static final int DISABLED
See Also:
Constant Field Values

KILLED

static final int KILLED
See Also:
Constant Field Values
Method Detail

getCasProcessor

CasProcessor getCasProcessor()
Returns instance of CasProcessor

Returns:
CasProcessor

getStatus

int getStatus()
Returns status of CasProcessor

Returns:
int status

setStatus

void setStatus(int aStatus)
Sets status of CasProcessor

Parameters:
int - aStatus

isLocal

boolean isLocal()
Returns true if this is a Locally Deployed CasProcessor ( Same machine, different JVM )

Returns:
true if Local, false otherwise

isRemote

boolean isRemote()
Returns true if this is a Remotely Deployed CasProcessor

Returns:
true if Remote, false otherwise

isIntegrated

boolean isIntegrated()
Returns true if this is a Integrated CasProcessor

Returns:
true if Integrated, false otherwise

isAbortable

boolean isAbortable()
Returns true if CasProcessor can be Aborted/Disabled.

Returns:
true if abortable, false otherwise


Copyright © 2013. All Rights Reserved.