public class ScheduledTask extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DISABLED |
static int |
EXECUTED |
static int |
IN_PROGRES |
static int |
INTERNAL |
Constructor and Description |
---|
ScheduledTask() |
ScheduledTask(org.netxms.base.NXCPMessage msg,
long base) |
ScheduledTask(String scheduledTaskId,
String schedule,
String parameters,
Date executionTime,
int flags,
long objectId) |
Modifier and Type | Method and Description |
---|---|
void |
fillMessage(org.netxms.base.NXCPMessage msg) |
Date |
getExecutionTime() |
int |
getFlags() |
long |
getId() |
Date |
getLastExecutionTime() |
long |
getObjectId() |
long |
getOwner() |
String |
getParameters() |
String |
getSchedule() |
String |
getScheduledTaskId() |
String |
getStatus() |
boolean |
isDisbaled() |
void |
setEnabed(boolean enabled) |
void |
setExecutionTime(Date executionTime) |
void |
setFlags(int flags) |
void |
setId(long id) |
void |
setLastExecutionTime(Date lastExecutionTime) |
void |
setObjectId(long objectId) |
void |
setOwner(long owner) |
void |
setParameters(String parameters) |
void |
setSchedule(String schedule) |
void |
setScheduledTaskId(String scheduledTaskId) |
public static final int DISABLED
public static final int EXECUTED
public static final int IN_PROGRES
public static final int INTERNAL
public ScheduledTask()
public ScheduledTask(org.netxms.base.NXCPMessage msg, long base)
public void fillMessage(org.netxms.base.NXCPMessage msg)
public long getId()
public void setId(long id)
id
- the id to setpublic String getScheduledTaskId()
public void setScheduledTaskId(String scheduledTaskId)
scheduledTaskId
- the scheduledTaskId to setpublic String getSchedule()
public void setSchedule(String schedule)
schedule
- the schedule to setpublic String getParameters()
public void setParameters(String parameters)
parameters
- the parameters to setpublic Date getExecutionTime()
public void setExecutionTime(Date executionTime)
executionTime
- the executionTime to setpublic Date getLastExecutionTime()
public void setLastExecutionTime(Date lastExecutionTime)
lastExecutionTime
- the lastExecutionTime to setpublic int getFlags()
public void setFlags(int flags)
flags
- the flags to setpublic long getOwner()
public void setOwner(long owner)
owner
- the owner to setpublic long getObjectId()
public void setObjectId(long objectId)
objectId
- the objectId to setpublic String getStatus()
public boolean isDisbaled()
public void setEnabed(boolean enabled)
Copyright © 2016. All rights reserved.