|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.process.StateEngine
org.compiere.process.CompiereService
public class CompiereService
Compiere Service. Instanciates and Controls the Compiere Server, which actually does the work in separate thread
| Field Summary |
|---|
| Fields inherited from class org.compiere.process.StateEngine |
|---|
ACTION_Abort, ACTION_Complete, ACTION_Resume, ACTION_Start, ACTION_Suspend, ACTION_Terminate, log, STATE_Aborted, STATE_Completed, STATE_NotStarted, STATE_Running, STATE_Suspended, STATE_Terminated |
| Constructor Summary | |
|---|---|
CompiereService(PO processor,
Class<?> serverClass)
Compiere Service |
|
| Method Summary | |
|---|---|
boolean |
abort()
Abort: open -> aborted |
boolean |
complete()
Complete: running -> completed |
CompiereServer |
getCompierServer()
Get Compier Server |
String |
getState()
Get/Check State |
boolean |
resume()
Resume: suspended -> running |
boolean |
start()
Start: not started -> running |
boolean |
suspend()
Suspend: running -> suspended |
boolean |
terminate()
Terminate (System Error): open -> terminated |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.process.StateEngine |
|---|
getActionOptions, getNewStateIfAction, getNewStateOptions, getStateInfo, isAborted, isClosed, isCompleted, isNotRunning, isNotStarted, isOpen, isRunning, isSuspended, isTerminated, isThrowException, isValidAction, isValidNewState, process, setState, setThrowException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompiereService(PO processor,
Class<?> serverClass)
processor - Processor instanceserverClass - server class| Method Detail |
|---|
public CompiereServer getCompierServer()
public String getState()
getState in class StateEnginepublic boolean start()
start in class StateEnginepublic boolean resume()
resume in class StateEnginepublic boolean complete()
complete in class StateEnginepublic boolean suspend()
suspend in class StateEnginepublic boolean abort()
abort in class StateEnginepublic boolean terminate()
terminate in class StateEnginepublic String toString()
toString in class StateEngine
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||