public abstract class AbstractTargetIdManager extends Object implements TargetIdManager
TargetIdManager base class, that provides basic implementations of getFallbackTargetId() and
getAvailableTargetIds().| Constructor and Description |
|---|
AbstractTargetIdManager() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableTargetIds()
Returns the available target IDs defined in the current site configuration.
|
String |
getFallbackTargetId()
Returns the fallback ID defined in the current site configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentTargetIdpublic String getFallbackTargetId() throws IllegalStateException
getFallbackTargetId in interface TargetIdManagerIllegalStateExceptionpublic List<String> getAvailableTargetIds()
IllegalStateException is thrown.getAvailableTargetIds in interface TargetIdManagerCopyright © 2020 CrafterCMS. All rights reserved.