Class WorkspaceSpec

java.lang.Object
hudson.model.AbstractDescribableImpl<WorkspaceSpec>
org.jenkinsci.plugins.p4.workspace.WorkspaceSpec
All Implemented Interfaces:
Describable<WorkspaceSpec>, Serializable, Cloneable

public class WorkspaceSpec extends AbstractDescribableImpl<WorkspaceSpec> implements Cloneable, Serializable
See Also:
  • Field Details

    • allwrite

      public final boolean allwrite
    • clobber

      public final boolean clobber
    • compress

      public final boolean compress
    • locked

      public final boolean locked
    • modtime

      public final boolean modtime
    • rmdir

      public final boolean rmdir
  • Constructor Details

    • WorkspaceSpec

      @DataBoundConstructor public WorkspaceSpec(boolean allwrite, boolean clobber, boolean compress, boolean locked, boolean modtime, boolean rmdir, String streamName, String line, String view, String changeView, String type, String serverID, boolean backup)
    • WorkspaceSpec

      public WorkspaceSpec(String view, String changeView)
    • WorkspaceSpec

      @Deprecated public WorkspaceSpec(boolean allwrite, boolean clobber, boolean compress, boolean locked, boolean modtime, boolean rmdir, String streamName, String line, String view)
      Deprecated.
  • Method Details

    • getPollPath

      public String getPollPath()
    • isCustomPolling

      public boolean isCustomPolling()
    • hasCustomPollingPaths

      public boolean hasCustomPollingPaths()
      Checks if the user has ticked the Custom Polling Path checkbox and consequently, the poll paths textarea is not empty. Logs a warning if the checkbox is enabled but no paths are defined.
    • setPollPath

      @DataBoundSetter public void setPollPath(String pollPath)
    • setCustomPolling

      @DataBoundSetter public void setCustomPolling(boolean customPolling)
    • getStreamName

      public String getStreamName()
    • getStreamAtChange

      public String getStreamAtChange()
    • setStreamAtChange

      @DataBoundSetter public void setStreamAtChange(String streamAtChange)
    • getLine

      public String getLine()
    • getView

      public String getView()
    • setView

      public void setView(String view)
    • getChangeView

      public String getChangeView()
    • getType

      public String getType()
    • getServerID

      public String getServerID()
    • isBackup

      public boolean isBackup()
    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • getLimitView

      public String getLimitView()
    • setLimitView

      @DataBoundSetter public void setLimitView(String limitView)