Package com.pnfsoftware.jeb.core
Class ScriptMetadata
java.lang.Object
com.pnfsoftware.jeb.core.ScriptMetadata
Metadata information for a JEB script (type, description, version, etc.).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the script author.Get the script description.Get the declared script shortcut.getType()Get the declared script type.Get the declared script version.booleanDetermine whether the script is marked as deprecated.booleanisNolist()Determine whether the script should be omitted from listings.
-
Constructor Details
-
ScriptMetadata
public ScriptMetadata()Create an empty script-metadata object.
-
-
Method Details
-
getType
Get the declared script type.- Returns:
- script type, or null if unspecified
-
getDescription
Get the script description.- Returns:
- description, or null if unspecified
-
getAuthor
Get the script author.- Returns:
- author, or null if unspecified
-
getVersion
Get the declared script version.- Returns:
- version, or null if unspecified
-
getShortcut
Get the declared script shortcut.- Returns:
- shortcut string, or null if unspecified
-
isDeprecated
public boolean isDeprecated()Determine whether the script is marked as deprecated.- Returns:
- true if the script is deprecated
-
isNolist
public boolean isNolist()Determine whether the script should be omitted from listings.- Returns:
- true if the script is marked with
nolist
-