Class WorkspaceLocator

  • All Implemented Interfaces:
    ExtensionPoint

    public abstract class WorkspaceLocator
    extends Object
    implements ExtensionPoint
    Allow extensions to override workspace locations on given agents or projects.
    Since:
    1.501
    Author:
    ryan.campbell@gmail.com
    • Constructor Detail

      • WorkspaceLocator

        public WorkspaceLocator()
    • Method Detail

      • locate

        public abstract FilePath locate​(TopLevelItem item,
                                        Node node)
        Allows extensions to customize the workspace path. The first non-null response will determine the path to the workspace on that agent.
        Parameters:
        item - The toplevel item
        node - The agent node
        Returns:
        The absolute FilePath to the workspace on the agent. Will be created if it doesn't exist.