Package com.e1c.g5.v8.dt.cli.api
Interface ICliScriptData
public interface ICliScriptData
Information about a CLI script.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the script's content.org.eclipse.core.runtime.IContributorReturns the script's contributor.default StringgetName()Returns the script's name.Returns the namespace this script is registered in.getPath()Returns the script's path.default booleanReturns if this script is contributed.
-
Method Details
-
getPath
String getPath()Returns the script's path.- Returns:
- the script's path. Never
null.
-
getContributor
org.eclipse.core.runtime.IContributor getContributor()Returns the script's contributor.- Returns:
- the script's contributor. May be
nullfor scripts loaded from the file system.
-
getContent
String getContent()Returns the script's content.- Returns:
- the script's content. Never
null.
-
getNamespace
String getNamespace()Returns the namespace this script is registered in.- Returns:
- the namespace this script is registered in. Never
null.
-
getName
Returns the script's name.Typically, the script's name is the name of the file from
pathwithout extension.- Returns:
- the script's name. Never
null.
-
isContributed
default boolean isContributed()Returns if this script is contributed.- Returns:
true, if this script is contributed by some contributor (bundle), orfalse, if this script is loaded from the file system.
-