Package org.opends.server.api.plugin
Class PluginResult.Startup
- java.lang.Object
-
- org.opends.server.api.plugin.PluginResult.Startup
-
- Enclosing class:
- PluginResult
public static final class PluginResult.Startup extends Object
Defines a startup plugin result consisting of either continue skip further plugins, or stop startup with an error message.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontinuePluginProcessing()Whether to invoke the rest of the plugins.booleancontinueProcessing()Whether to continue startup.static PluginResult.StartupcontinueStartup()Defines a continue processing startup plugin result.LocalizableMessagegetErrorMessage()Retrieves the error message ifcontinueProcessing()returnedfalse.static PluginResult.StartupskipFurtherPluginProcesssing()Defines a skip further plugin processing startup plugin result.static PluginResult.StartupstopStartup(LocalizableMessage errorMessage)Defines a new stop processing startup plugin result.
-
-
-
Method Detail
-
continueStartup
public static PluginResult.Startup continueStartup()
Defines a continue processing startup plugin result.- Returns:
- a continue processing startup plugin result.
-
skipFurtherPluginProcesssing
public static PluginResult.Startup skipFurtherPluginProcesssing()
Defines a skip further plugin processing startup plugin result.- Returns:
- a skip further plugin processing startup plugin result.
-
stopStartup
public static PluginResult.Startup stopStartup(LocalizableMessage errorMessage)
Defines a new stop processing startup plugin result.- Parameters:
errorMessage- An message explaining why processing should stop for the given entry.- Returns:
- a new stop processing startup plugin result.
-
continueProcessing
public boolean continueProcessing()
Whether to continue startup.- Returns:
trueif processing should continue orfalseotherwise.
-
continuePluginProcessing
public boolean continuePluginProcessing()
Whether to invoke the rest of the plugins.- Returns:
trueif the rest of the plugins should be invoked forfalseto skip the rest of the plugins.
-
getErrorMessage
public LocalizableMessage getErrorMessage()
Retrieves the error message ifcontinueProcessing()returnedfalse.- Returns:
- An error message explaining why processing should stop or
nullif none is provided.
-
-