Class RemoteTask
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.application.RemoteTask
-
- All Implemented Interfaces:
Serializable
public final class RemoteTask extends Object implements Serializable
Remote representation of a task- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteTask()
RemoteTask(long id, String name, String description, boolean enabled, boolean commitOnExecute, String script, List<StringPair> parameters, RemoteTaskScheduleDescriptor schedule, RemoteTaskNotificationDescriptor notificationType, List<RemoteUserInfoLight> users)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
long
getId()
String
getName()
RemoteTaskNotificationDescriptor
getNotificationType()
List<StringPair>
getParameters()
RemoteTaskScheduleDescriptor
getSchedule()
String
getScript()
List<RemoteUserInfoLight>
getUsers()
boolean
isCommitOnExecute()
boolean
isEnabled()
void
setCommitOnExecute(boolean commitOnExecute)
void
setDescription(String description)
void
setEnabled(boolean enabled)
void
setId(long id)
void
setName(String name)
void
setNotificationType(RemoteTaskNotificationDescriptor notificationType)
void
setParameters(List<StringPair> parameters)
void
setSchedule(RemoteTaskScheduleDescriptor schedule)
void
setScript(String script)
void
setUsers(List<RemoteUserInfoLight> users)
-
-
-
Constructor Detail
-
RemoteTask
public RemoteTask()
-
RemoteTask
public RemoteTask(long id, String name, String description, boolean enabled, boolean commitOnExecute, String script, List<StringPair> parameters, RemoteTaskScheduleDescriptor schedule, RemoteTaskNotificationDescriptor notificationType, List<RemoteUserInfoLight> users)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getParameters
public List<StringPair> getParameters()
-
setParameters
public void setParameters(List<StringPair> parameters)
-
getSchedule
public RemoteTaskScheduleDescriptor getSchedule()
-
setSchedule
public void setSchedule(RemoteTaskScheduleDescriptor schedule)
-
getNotificationType
public RemoteTaskNotificationDescriptor getNotificationType()
-
setNotificationType
public void setNotificationType(RemoteTaskNotificationDescriptor notificationType)
-
getScript
public String getScript()
-
setScript
public void setScript(String script)
-
getId
public long getId()
-
setId
public void setId(long id)
-
getUsers
public List<RemoteUserInfoLight> getUsers()
-
setUsers
public void setUsers(List<RemoteUserInfoLight> users)
-
isCommitOnExecute
public boolean isCommitOnExecute()
-
setCommitOnExecute
public void setCommitOnExecute(boolean commitOnExecute)
-
-