public abstract class AbstractH2OExtension
extends java.lang.Object
Constructor and Description |
---|
AbstractH2OExtension() |
Modifier and Type | Method and Description |
---|---|
AbstractBuildVersion |
getBuildVersion()
Get extension-specific build information.
|
abstract java.lang.String |
getExtensionName() |
void |
init()
Any up-front initialization that needs to happen before H2O is started.
|
boolean |
isEnabled()
Is this extension enabled?
|
void |
onLocalNodeStarted()
Called during the start up process of
H2OApp , after the local
network connections are opened. |
java.lang.String[] |
parseArguments(java.lang.String[] args)
Parse arguments used by this extension.
|
static void |
parseFailed(java.lang.String message)
To be called by parseArguments() on a failure.
|
void |
printHelp()
Print stuff (into System.out) for
java -jar h2o.jar -help |
void |
printInitialized()
Print a short message when the extension finishes initializing.
|
java.lang.String |
toString() |
void |
validateArguments()
Validate arguments used by this extension.
|
public abstract java.lang.String getExtensionName()
public void init()
H2OApp
before H2O.main()
is called.public void onLocalNodeStarted()
H2OApp
, after the local
network connections are opened.public void printHelp()
java -jar h2o.jar -help
public static void parseFailed(java.lang.String message)
message
- Message to give to the user.public java.lang.String[] parseArguments(java.lang.String[] args)
args
- List of arguments this extension might want to consume.public void validateArguments()
public AbstractBuildVersion getBuildVersion()
public void printInitialized()
public boolean isEnabled()
public final java.lang.String toString()
toString
in class java.lang.Object