Package org.cyclos.entities.system
Class CustomBackgroundTask
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.system.BaseCustomTask
-
- org.cyclos.entities.system.CustomBackgroundTask
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,UsesScript
@Entity public class CustomBackgroundTask extends BaseCustomTask
Defines a custom background task - that is, one which run a script a single time in the background
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description CustomBackgroundTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackgroundTaskPrioritygetPriority()CustomScriptUsedInTypegetScriptUsedInType()Returns the type of script usagebooleanisVerboseLog()voidsetPriority(BackgroundTaskPriority priority)voidsetVerboseLog(boolean verboseLog)-
Methods inherited from class org.cyclos.entities.system.BaseCustomTask
getNetwork, getScript, getScriptParameters, setNetwork, setScript, setScriptParameters
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.model.system.scripts.UsesScript
isEnabled
-
-
-
-
Method Detail
-
getPriority
public BackgroundTaskPriority getPriority()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage
-
isVerboseLog
public boolean isVerboseLog()
-
setPriority
public void setPriority(BackgroundTaskPriority priority)
-
setVerboseLog
public void setVerboseLog(boolean verboseLog)
-
-