Interface ICliScriptData


public interface ICliScriptData
Information about a CLI script.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the script's content.
    org.eclipse.core.runtime.IContributor
    Returns the script's contributor.
    default String
    Returns the script's name.
    Returns the namespace this script is registered in.
    Returns the script's path.
    default boolean
    Returns 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 null for 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

      default String getName()
      Returns the script's name.

      Typically, the script's name is the name of the file from path without 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), or false, if this script is loaded from the file system.