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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceSpec(boolean allwrite, boolean clobber, boolean compress, boolean locked, boolean modtime, boolean rmdir, String streamName, String line, String view) Deprecated.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(String view, String changeView) -
Method Summary
Modifier and TypeMethodDescriptionclone()getLine()getType()getView()booleanChecks if the user has ticked the Custom Polling Path checkbox and consequently, the poll paths textarea is not empty.booleanisBackup()booleanvoidsetCustomPolling(boolean customPolling) voidsetLimitView(String limitView) voidsetPollPath(String pollPath) voidsetStreamAtChange(String streamAtChange) voidMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
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
-
WorkspaceSpec
-
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
-
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
-
setCustomPolling
@DataBoundSetter public void setCustomPolling(boolean customPolling) -
getStreamName
-
getStreamAtChange
-
setStreamAtChange
-
getLine
-
getView
-
setView
-
getChangeView
-
getType
-
getServerID
-
isBackup
public boolean isBackup() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getLimitView
-
setLimitView
-