|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerType<T>
This interface defines the contract for the timerType
xsd type
Method Summary | |
---|---|
TimerType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
TimerType<T> |
end(Date end)
Sets the end element |
List<String> |
getAllDescription()
Returns all description elements |
Date |
getEnd()
Returns the end element |
String |
getInfo()
Returns the info element |
TimerScheduleType<TimerType<T>> |
getOrCreateSchedule()
If not already created, a new schedule element with the given value will be created. |
NamedMethodType<TimerType<T>> |
getOrCreateTimeoutMethod()
If not already created, a new timeout-method element with the given value will be created. |
Date |
getStart()
Returns the start element |
String |
getTimezone()
Returns the timezone element |
TimerType<T> |
info(String info)
Sets the info element |
Boolean |
isPersistent()
Returns the persistent element |
TimerType<T> |
persistent(Boolean persistent)
Sets the persistent element |
TimerType<T> |
removeAllDescription()
Removes the description element |
TimerType<T> |
removeEnd()
Removes the end element |
TimerType<T> |
removeInfo()
Removes the info element |
TimerType<T> |
removePersistent()
Removes the persistent element |
TimerType<T> |
removeSchedule()
Removes the schedule element |
TimerType<T> |
removeStart()
Removes the start element |
TimerType<T> |
removeTimeoutMethod()
Removes the timeout-method element |
TimerType<T> |
removeTimezone()
Removes the timezone element |
TimerType<T> |
start(Date start)
Sets the start element |
TimerType<T> |
timezone(String timezone)
Sets the timezone element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
TimerType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
TimerType
List<String> getAllDescription()
description
elements
description
TimerType<T> removeAllDescription()
description
element
TimerType
TimerScheduleType<TimerType<T>> getOrCreateSchedule()
schedule
element with the given value will be created.
Otherwise, the existing schedule
element will be returned.
TimerScheduleType>
TimerType<T> removeSchedule()
schedule
element
TimerType
TimerType<T> start(Date start)
start
element
start
- the value for the element start
TimerType
Date getStart()
start
element
start
TimerType<T> removeStart()
start
element
TimerType
TimerType<T> end(Date end)
end
element
end
- the value for the element end
TimerType
Date getEnd()
end
element
end
TimerType<T> removeEnd()
end
element
TimerType
NamedMethodType<TimerType<T>> getOrCreateTimeoutMethod()
timeout-method
element with the given value will be created.
Otherwise, the existing timeout-method
element will be returned.
NamedMethodType>
TimerType<T> removeTimeoutMethod()
timeout-method
element
TimerType
TimerType<T> persistent(Boolean persistent)
persistent
element
persistent
- the value for the element persistent
TimerType
Boolean isPersistent()
persistent
element
persistent
TimerType<T> removePersistent()
persistent
element
TimerType
TimerType<T> timezone(String timezone)
timezone
element
timezone
- the value for the element timezone
TimerType
String getTimezone()
timezone
element
timezone
TimerType<T> removeTimezone()
timezone
element
TimerType
TimerType<T> info(String info)
info
element
info
- the value for the element info
TimerType
String getInfo()
info
element
info
TimerType<T> removeInfo()
info
element
TimerType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |