public class OScheduledEvent extends ODocumentWrapper
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
static String |
PROP_ARGUMENTS |
static String |
PROP_EXEC_ID |
static String |
PROP_FUNC |
static String |
PROP_NAME |
static String |
PROP_RULE |
static String |
PROP_STARTTIME |
static String |
PROP_STATUS |
document
Constructor and Description |
---|
OScheduledEvent(ODocument doc)
Creates a scheduled event object from a configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
fromStream(ODocument iDocument) |
Map<Object,Object> |
getArguments() |
OFunction |
getFunction() |
String |
getName() |
long |
getNextExecutionId() |
String |
getRule() |
Date |
getStartTime() |
String |
getStatus() |
void |
interrupt() |
boolean |
isRunning() |
OScheduledEvent |
schedule(String database,
String user,
OrientDBInternal orientDB) |
String |
toString() |
public static final String CLASS_NAME
public static final String PROP_NAME
public static final String PROP_RULE
public static final String PROP_ARGUMENTS
public static final String PROP_STATUS
public static final String PROP_FUNC
public static final String PROP_STARTTIME
public static final String PROP_EXEC_ID
public OScheduledEvent(ODocument doc)
public void interrupt()
public OFunction getFunction()
public String getRule()
public String getName()
public long getNextExecutionId()
public String getStatus()
public Date getStartTime()
public boolean isRunning()
public OScheduledEvent schedule(String database, String user, OrientDBInternal orientDB)
public String toString()
toString
in class ODocumentWrapper
public void fromStream(ODocument iDocument)
fromStream
in class ODocumentWrapper
Copyright © 2009–2020 OrientDB. All rights reserved.