Interface ExitConnectorModel
-
- All Known Implementing Classes:
AbstractExitConnectorModel,DefaultExitConnectorModel
public interface ExitConnectorModelStores information needed by the exit connector.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanAUTO_CREATE_EXIT_DEFAULTThe default value forisAutoCreateExit().static java.lang.StringEXIT_ARCHETYPE_NAME_DEFAULTThe default value forgetExitArchetypeName().static booleanPASTE_EXIT_NAME_DEFAULTThe default value forisPasteExitName().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExitConnectorModelListener(@NotNull ExitConnectorModelListener listener)Adds anExitConnectorModelListenerto be notified of changes.@NotNull java.lang.StringgetExitArchetypeName()Returns the archetype name when creating exit game objects.@Nullable ExitLocationgetExitLocation()Returns the remembered exit location.booleanisAutoCreateExit()Returns whether exit game objects should be auto-created when needed.booleanisPasteExitName()Returns whether the exit name should be updated.voidremoveExitConnectorModelListener(@NotNull ExitConnectorModelListener listener)Removes anExitConnectorModelListenerto be notified of changes.voidsetAutoCreateExit(boolean autoCreateExit)Sets whether exit game objects should be auto-created when needed.voidsetExitArchetypeName(@NotNull java.lang.String exitArchetypeName)Sets the archetype name for creating exit game objects.voidsetExitLocation(@Nullable ExitLocation exitLocation)Sets the remembered exit location.voidsetPasteExitName(boolean pasteExitName)Sets whether the exit name should be updated.
-
-
-
Field Detail
-
PASTE_EXIT_NAME_DEFAULT
static final boolean PASTE_EXIT_NAME_DEFAULT
The default value forisPasteExitName().- See Also:
- Constant Field Values
-
AUTO_CREATE_EXIT_DEFAULT
static final boolean AUTO_CREATE_EXIT_DEFAULT
The default value forisAutoCreateExit().- See Also:
- Constant Field Values
-
EXIT_ARCHETYPE_NAME_DEFAULT
static final java.lang.String EXIT_ARCHETYPE_NAME_DEFAULT
The default value forgetExitArchetypeName().- See Also:
- Constant Field Values
-
-
Method Detail
-
getExitLocation
@Nullable @Nullable ExitLocation getExitLocation()
Returns the remembered exit location.- Returns:
- the exit location or
null
-
setExitLocation
void setExitLocation(@Nullable @Nullable ExitLocation exitLocation)Sets the remembered exit location.- Parameters:
exitLocation- the exit location ornull
-
isPasteExitName
boolean isPasteExitName()
Returns whether the exit name should be updated.- Returns:
- whether the exit name should be updated
-
setPasteExitName
void setPasteExitName(boolean pasteExitName)
Sets whether the exit name should be updated.- Parameters:
pasteExitName- whether the exit name should be updated
-
isAutoCreateExit
boolean isAutoCreateExit()
Returns whether exit game objects should be auto-created when needed.- Returns:
- whether exit game objects should be auto-created when needed
-
setAutoCreateExit
void setAutoCreateExit(boolean autoCreateExit)
Sets whether exit game objects should be auto-created when needed.- Parameters:
autoCreateExit- whether exit game objects should be auto-created when needed
-
getExitArchetypeName
@NotNull @NotNull java.lang.String getExitArchetypeName()
Returns the archetype name when creating exit game objects.- Returns:
- the archetype name
-
setExitArchetypeName
void setExitArchetypeName(@NotNull @NotNull java.lang.String exitArchetypeName)Sets the archetype name for creating exit game objects.- Parameters:
exitArchetypeName- the archetype name
-
addExitConnectorModelListener
void addExitConnectorModelListener(@NotNull @NotNull ExitConnectorModelListener listener)Adds anExitConnectorModelListenerto be notified of changes.- Parameters:
listener- the listener
-
removeExitConnectorModelListener
void removeExitConnectorModelListener(@NotNull @NotNull ExitConnectorModelListener listener)Removes anExitConnectorModelListenerto be notified of changes.- Parameters:
listener- the listener
-
-