|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Alert is a service to be automatically executed (time interval specification).
Field Summary | |
static int |
TYPEID Deprecated. The type id of this class. |
static java.lang.String |
TYPENAME Deprecated. The constant class type identifier. |
Fields inherited from interface oracle.panama.model.Service |
CATEGORY_MASTER, CATEGORY_SERVICE, CATEGORY_USER_HOME |
Method Summary | |
void |
addAddress(AlertAddress address) Deprecated. Adds a new address to the list of addresses to send the result to. |
AlertAddress[] |
getAddresses() Deprecated. Returns the list of addresses to send the result to. |
java.lang.String |
getInterval() Deprecated. Gets the interval. |
java.util.Date |
getNext() Deprecated. Gets the next time to run. |
boolean |
isScheduled() Deprecated. Check if this job really is scheduled. |
void |
removeAddress(AlertAddress address) Deprecated. Removes an address from the list of addresses to send the result to. |
void |
setAddresses(AlertAddress[] addresses) Deprecated. Sets the list of addresses to send the result to. |
void |
setInterval(java.lang.String interval) Deprecated. Sets the interval property (String) value. |
void |
setNext(java.util.Date next) Deprecated. Set the next execution time and date. |
Methods inherited from interface oracle.panama.model.Link |
getInputArguments, getLanguage, getLastService, getMergedInputArguments, getMergedOutputArguments, getNextService, getOutputArguments, setInputArguments, setOutputArguments |
Methods inherited from interface oracle.panama.model.AsyncService |
addAsyncAddress, addAsyncName, getAsyncAddress, getAsyncAddresses, getAsyncArguments, getAsyncName, getAsyncNames, getParameterDelimiter, getServiceHelpText, isAsyncEnabled, isSilent, isSupportsVariableAsyncArgs, removeAsyncAddress, removeAsyncName, setAsyncAddress, setAsyncAddresses, setAsyncArguments, setAsyncName, setAsyncNames, setParameterDelimiter, setServiceHelpText |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll |
Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
Methods inherited from interface oracle.panama.model.DeliveryServiceLink |
getDRMPolicy, setDRMPolicy |
Field Detail |
public static final int TYPEID
public static final java.lang.String TYPENAME
Method Detail |
public void addAddress(AlertAddress address)
address
- the new addressremoveAddress(oracle.panama.model.AlertAddress)
public AlertAddress[] getAddresses()
setAddresses(AlertAddress[])
public java.lang.String getInterval()
setInterval(java.lang.String)
public java.util.Date getNext()
public boolean isScheduled()
public void removeAddress(AlertAddress address)
address
- to be removedremoveAddress(oracle.panama.model.AlertAddress)
public void setAddresses(AlertAddress[] addresses)
addresses
- to send the result to.getAddresses()
public void setInterval(java.lang.String interval)
Example:
Execute the job each weekday: "WE".
Execute the job each monday: Set the next date to a monday and specify the interval to "7D".
interval
- the new value for the property.PanamaRuntimeException
- if the format is invalid.getInterval()
, setNext(java.util.Date)
public void setNext(java.util.Date next)
This date is when the Job will be invoked again. Note: The interval specification is used to calculate the next value each time the job is executed. But this calculated value can always be overriden by an explicit call to this method.
The time portion (hour, minute, second) of the date is valid when the system decides the exact time of day to execute this job.
If a job fails then it will be stopped, and it has to be triggered to start running again by a new call of this method again.
next
- the new next date.getNext()
, setInterval(java.lang.String)
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |