Class StreamWorkspaceImpl

java.lang.Object
org.jenkinsci.plugins.p4.workspace.Workspace
org.jenkinsci.plugins.p4.workspace.StreamWorkspaceImpl
All Implemented Interfaces:
ExtensionPoint, Describable<Workspace>, Serializable, Cloneable

public class StreamWorkspaceImpl extends Workspace implements Serializable
See Also:
  • Constructor Details

    • StreamWorkspaceImpl

      @DataBoundConstructor public StreamWorkspaceImpl(String charset, boolean pinHost, String streamName, String format)
  • Method Details

    • getStreamName

      public String getStreamName()
    • getStreamAtChange

      public String getStreamAtChange()
    • setStreamAtChange

      @DataBoundSetter public void setStreamAtChange(String streamAtChange)
    • getFormat

      public String getFormat()
    • getName

      public String getName()
      Description copied from class: Workspace
      Returns the client workspace name as defined in the configuration. This may include ${tag} that have not been expanded.
      Specified by:
      getName in class Workspace
      Returns:
      Client name
    • setName

      public void setName(String name)
      Specified by:
      setName in class Workspace
    • getType

      public WorkspaceType getType()
      Specified by:
      getType in class Workspace
    • setClient

      public com.perforce.p4java.client.IClient setClient(com.perforce.p4java.server.IOptionsServer connection, String user) throws Exception
      Description copied from class: Workspace
      Setup/Create a Perforce workspace for this mode.
      Specified by:
      setClient in class Workspace
      Parameters:
      connection - Server connection
      user - Perforce user
      Returns:
      Perforce client
      Throws:
      Exception - push up stack