Package tsl2.nano.cursus
Interface IConsilium
- All Known Implementing Classes:
Consilium,EConsilium
public interface IConsilium
main change object to be processed by an authorized
Processor.- Author:
- Tom
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbooleanreturns true, if this consillium will change the object, identified by id.voidcheckValidity(tsl2.nano.cursus.Processor.Id iD) should check against a seal to avoid invalid data changes<C extends IConsilium>
Ccreate a copy with a new timer and optional authorSet<? extends IConsilium>createAutomated(Date from, Date until) creates automated consilii, if timer is a generatorcommands to run if activatedgetName()getTimer()defines, when the consilium should be activated. if the timer is a generator, new consilii will be createdbooleanreturns true, if any stored content is assignedvoidrefreshSeal(tsl2.nano.cursus.Processor.Id iD) only the authorized processor should refresh the seal!voidsetStatus(IConsilium.Status newStatus) the authorized processor can change from inactive to active and from active to deactivated
-
Method Details
-
getName
Object getName() -
getExsecutios
commands to run if activated -
checkValidity
void checkValidity(tsl2.nano.cursus.Processor.Id iD) should check against a seal to avoid invalid data changes -
refreshSeal
void refreshSeal(tsl2.nano.cursus.Processor.Id iD) only the authorized processor should refresh the seal! -
createAutomated
creates automated consilii, if timer is a generator -
getStatus
IConsilium.Status getStatus() -
setStatus
the authorized processor can change from inactive to active and from active to deactivated -
getTimer
Timer getTimer()defines, when the consilium should be activated. if the timer is a generator, new consilii will be created -
affects
returns true, if this consillium will change the object, identified by id. -
hasFixedContent
boolean hasFixedContent()returns true, if any stored content is assigned -
clone
create a copy with a new timer and optional author
-