public abstract class AbstractAutoStartMechanism extends Object implements AutoStartMechanism
AutoStartMechanism.Mode
Modifier and Type | Field and Description |
---|---|
protected static Localiser |
LOCALISER
Localisation of messages
|
protected AutoStartMechanism.Mode |
mode
AutoStart "mode"
|
protected boolean |
open
Flag whether the starter is open.
|
Constructor and Description |
---|
AbstractAutoStartMechanism()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes a transaction for writing (add/delete) classes to the auto start mechanism.
|
AutoStartMechanism.Mode |
getMode()
Accessor for the mode of operation
|
boolean |
isOpen()
Whether it's open for writing (add/delete) classes to the auto start mechanism
|
void |
open()
Starts a transaction for writting (add/delete) classes to the auto start mechanism.
|
void |
setMode(AutoStartMechanism.Mode mode)
Mutator for the mode of operation
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClass, deleteAllClasses, deleteClass, getAllClassData, getStorageDescription
protected static final Localiser LOCALISER
protected AutoStartMechanism.Mode mode
protected boolean open
public AutoStartMechanism.Mode getMode()
getMode
in interface AutoStartMechanism
public void setMode(AutoStartMechanism.Mode mode)
setMode
in interface AutoStartMechanism
mode
- The mode of operationpublic void open()
open
in interface AutoStartMechanism
public boolean isOpen()
isOpen
in interface AutoStartMechanism
public void close()
close
in interface AutoStartMechanism
Copyright © 2019. All rights reserved.