public interface IConsilium
Processor.| Modifier and Type | Interface and Description |
|---|---|
static class |
IConsilium.Priority |
static class |
IConsilium.Status |
| Modifier and Type | Method and Description |
|---|---|
boolean |
affects(Object o)
returns true, if this consillium will change the object, identified by id.
|
void |
checkValidity(tsl2.nano.cursus.Processor.Id iD)
should check against a seal to avoid invalid data changes
|
<C extends IConsilium> |
clone(Timer timer,
String author)
create a copy with a new timer and optional author
|
Set<? extends IConsilium> |
createAutomated(Date from,
Date until)
creates automated consilii, if timer is a generator
|
Set<? extends ICommand<?>> |
getExsecutios()
commands to run if activated
|
Object |
getName() |
IConsilium.Status |
getStatus() |
Timer |
getTimer()
defines, when the consilium should be activated. if the timer is a generator, new consilii will be created
|
boolean |
hasFixedContent()
returns true, if any stored content is assigned
|
void |
refreshSeal(tsl2.nano.cursus.Processor.Id iD)
only the authorized processor should refresh the seal!
|
void |
setStatus(IConsilium.Status newStatus)
the authorized processor can change from inactive to active and from active to deactivated
|
Object getName()
void checkValidity(tsl2.nano.cursus.Processor.Id iD)
void refreshSeal(tsl2.nano.cursus.Processor.Id iD)
Set<? extends IConsilium> createAutomated(Date from, Date until)
IConsilium.Status getStatus()
void setStatus(IConsilium.Status newStatus)
Timer getTimer()
boolean affects(Object o)
boolean hasFixedContent()
<C extends IConsilium> C clone(Timer timer, String author)
Copyright © 2012–2020. All rights reserved.