Package se.diabol.jenkins.pipeline.model
Record Class ViewSettings
java.lang.Object
java.lang.Record
se.diabol.jenkins.pipeline.model.ViewSettings
@ExportedBean(defaultVisibility=100)
public record ViewSettings(int noOfPipelines, int noOfColumns, int updateInterval, boolean pagingEnabled, boolean showAggregatedPipeline, boolean showChanges, boolean showDescription, boolean showTotalBuildTime, boolean showTestResults, boolean showStaticAnalysisResults, boolean showPromotions, boolean showAbsoluteDateTime, boolean allowPipelineStart, boolean allowManualTriggers, boolean allowRebuild, boolean allowAbort)
extends Record
The display and action options of a view, as the sources and the page script need them.
-
Constructor Summary
ConstructorsConstructorDescriptionViewSettings(int noOfPipelines, int noOfColumns, int updateInterval, boolean pagingEnabled, boolean showAggregatedPipeline, boolean showChanges, boolean showDescription, boolean showTotalBuildTime, boolean showTestResults, boolean showStaticAnalysisResults, boolean showPromotions, boolean showAbsoluteDateTime, boolean allowPipelineStart, boolean allowManualTriggers, boolean allowRebuild, boolean allowAbort) Creates an instance of aViewSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallowAbortrecord component.booleanReturns the value of theallowManualTriggersrecord component.booleanReturns the value of theallowPipelineStartrecord component.booleanReturns the value of theallowRebuildrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thenoOfColumnsrecord component.intReturns the value of thenoOfPipelinesrecord component.booleanReturns the value of thepagingEnabledrecord component.booleanReturns the value of theshowAbsoluteDateTimerecord component.booleanReturns the value of theshowAggregatedPipelinerecord component.booleanReturns the value of theshowChangesrecord component.booleanReturns the value of theshowDescriptionrecord component.booleanReturns the value of theshowPromotionsrecord component.booleanReturns the value of theshowStaticAnalysisResultsrecord component.booleanReturns the value of theshowTestResultsrecord component.booleanReturns the value of theshowTotalBuildTimerecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theupdateIntervalrecord component.
-
Constructor Details
-
ViewSettings
public ViewSettings(int noOfPipelines, int noOfColumns, int updateInterval, boolean pagingEnabled, boolean showAggregatedPipeline, boolean showChanges, boolean showDescription, boolean showTotalBuildTime, boolean showTestResults, boolean showStaticAnalysisResults, boolean showPromotions, boolean showAbsoluteDateTime, boolean allowPipelineStart, boolean allowManualTriggers, boolean allowRebuild, boolean allowAbort) Creates an instance of aViewSettingsrecord class.- Parameters:
noOfPipelines- the value for thenoOfPipelinesrecord componentnoOfColumns- the value for thenoOfColumnsrecord componentupdateInterval- the value for theupdateIntervalrecord componentpagingEnabled- the value for thepagingEnabledrecord componentshowAggregatedPipeline- the value for theshowAggregatedPipelinerecord componentshowChanges- the value for theshowChangesrecord componentshowDescription- the value for theshowDescriptionrecord componentshowTotalBuildTime- the value for theshowTotalBuildTimerecord componentshowTestResults- the value for theshowTestResultsrecord componentshowStaticAnalysisResults- the value for theshowStaticAnalysisResultsrecord componentshowPromotions- the value for theshowPromotionsrecord componentshowAbsoluteDateTime- the value for theshowAbsoluteDateTimerecord componentallowPipelineStart- the value for theallowPipelineStartrecord componentallowManualTriggers- the value for theallowManualTriggersrecord componentallowRebuild- the value for theallowRebuildrecord componentallowAbort- the value for theallowAbortrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
noOfPipelines
@Exported public int noOfPipelines()Returns the value of thenoOfPipelinesrecord component.- Returns:
- the value of the
noOfPipelinesrecord component
-
noOfColumns
@Exported public int noOfColumns()Returns the value of thenoOfColumnsrecord component.- Returns:
- the value of the
noOfColumnsrecord component
-
updateInterval
@Exported public int updateInterval()Returns the value of theupdateIntervalrecord component.- Returns:
- the value of the
updateIntervalrecord component
-
pagingEnabled
@Exported public boolean pagingEnabled()Returns the value of thepagingEnabledrecord component.- Returns:
- the value of the
pagingEnabledrecord component
-
showAggregatedPipeline
@Exported public boolean showAggregatedPipeline()Returns the value of theshowAggregatedPipelinerecord component.- Returns:
- the value of the
showAggregatedPipelinerecord component
-
showChanges
@Exported public boolean showChanges()Returns the value of theshowChangesrecord component.- Returns:
- the value of the
showChangesrecord component
-
showDescription
@Exported public boolean showDescription()Returns the value of theshowDescriptionrecord component.- Returns:
- the value of the
showDescriptionrecord component
-
showTotalBuildTime
@Exported public boolean showTotalBuildTime()Returns the value of theshowTotalBuildTimerecord component.- Returns:
- the value of the
showTotalBuildTimerecord component
-
showTestResults
@Exported public boolean showTestResults()Returns the value of theshowTestResultsrecord component.- Returns:
- the value of the
showTestResultsrecord component
-
showStaticAnalysisResults
@Exported public boolean showStaticAnalysisResults()Returns the value of theshowStaticAnalysisResultsrecord component.- Returns:
- the value of the
showStaticAnalysisResultsrecord component
-
showPromotions
@Exported public boolean showPromotions()Returns the value of theshowPromotionsrecord component.- Returns:
- the value of the
showPromotionsrecord component
-
showAbsoluteDateTime
@Exported public boolean showAbsoluteDateTime()Returns the value of theshowAbsoluteDateTimerecord component.- Returns:
- the value of the
showAbsoluteDateTimerecord component
-
allowPipelineStart
@Exported public boolean allowPipelineStart()Returns the value of theallowPipelineStartrecord component.- Returns:
- the value of the
allowPipelineStartrecord component
-
allowManualTriggers
@Exported public boolean allowManualTriggers()Returns the value of theallowManualTriggersrecord component.- Returns:
- the value of the
allowManualTriggersrecord component
-
allowRebuild
@Exported public boolean allowRebuild()Returns the value of theallowRebuildrecord component.- Returns:
- the value of the
allowRebuildrecord component
-
allowAbort
@Exported public boolean allowAbort()Returns the value of theallowAbortrecord component.- Returns:
- the value of the
allowAbortrecord component
-