Enum Class ScmFeature
- All Implemented Interfaces:
- Serializable,- Comparable<ScmFeature>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionIndicates the SCM supportsstreaming archives.Indicates the SCM supportsbulk commit retrieval.Indicates the SCM supportsbulk content retrieval.Indicates the SCM supportsbulk commit traversal.Indicates the SCM supportsbuilders.Indicates the SCM provides acommand factoryto compare refs.Indicates the SCM supports cross-repository operations.Indicates the SCM supports file edit operations.Indicates the SCM supportsforkingits repositories.Deprecated.in 8.0 for removal when the classic SCM is removedIndicates the SCM supports integrity checksIndicates the SCM supports streaming thelast modificationfor files.Indicates the SCM supportsmerging branches.Indicates the SCM supports selectable merge strategies.Indicates the SCM supportsmirroring repositoriesIndicates the SCM supportsstreaming patches.Indicates the SCM provides acommand factoryto create, view and mergepull requests.Indicates the SCM supportspushinglocal repositories to an URL.Indicates the SCM supportsrevertingchanges in a repository.Indicates the SCM supports retrievingsigned objects.Indicates the SCM supportsupdating the default branchin its repositories.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ScmFeaturestatic ScmFeatureReturns the enum constant of this class with the specified name.static ScmFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ARCHIVEIndicates the SCM supportsstreaming archives.- Since:
- 5.1
- See Also:
 
- 
BULK_COMMITSIndicates the SCM supportsbulk commit retrieval.- Since:
- 5.8
- See Also:
 
- 
BULK_CONTENTIndicates the SCM supportsbulk content retrieval.- Since:
- 4.2
- See Also:
 
- 
BULK_TRAVERSALIndicates the SCM supportsbulk commit traversal.- Since:
- 5.11
- See Also:
 
- 
COMMAND_BUILDERSIndicates the SCM supportsbuilders.- See Also:
 
- 
COMPAREIndicates the SCM provides acommand factoryto compare refs.Note: SCMs may support comparing refs cross-repository, but they are not required to do so.- See Also:
 
- 
CROSS_REPOSITORYIndicates the SCM supports cross-repository operations. This feature applies to: Implementing these features in a cross-repository manner may involve substantial additional complexity, so SCMs are free not to. When this feature is not supported, providing a secondary repository on commands likecommitsor opening apull requestbetween two repositories will fail.- See Also:
 
- 
EDIT_FILEIndicates the SCM supports file edit operations.- Since:
- 4.13
- See Also:
 
- 
FORKIndicates the SCM supportsforkingits repositories.SCMs which do not support forking will not support cross-repositoryoperations, but just because forking is supported does not imply cross-repository support. The complexity of cross-repository operations can be substantially higher than the complexity of creating forks, for some SCMs, and forks can still offer value (for example, a sandboxed place to work) even if cross-repository operations are not possible.- See Also:
 
- 
HOOKSDeprecated.in 8.0 for removal when the classic SCM is removedIndicates the SCM provides a handler factory to apply repository-level hooks. Support for this feature has been removed in 8.0
- 
INTEGRITY_CHECKSIndicates the SCM supports integrity checks- Since:
- 4.12
 
- 
LAST_MODIFIEDIndicates the SCM supports streaming thelast modificationfor files.- Since:
- 4.6
- See Also:
 
- 
MERGEIndicates the SCM supportsmerging branches.Note: SCMs may support cross-repositorymerges, merging a branch from one repository to a target branch in another, but they are not required to do so.- See Also:
 
- 
MERGE_STRATEGIESIndicates the SCM supports selectable merge strategies. Only SCMs which supportmerge commandsand/orpull requestsshould mark this feature as supported.Generally an SCM should support at least two strategies if this feature is enabled since, with only a single strategy, the strategy isn't actually selectable. But the only requirement of this feature is that the SCM must support at least one strategy. - Since:
- 4.9
 
- 
MIRRORSIndicates the SCM supportsmirroring repositories- Since:
- 4.1
- See Also:
 
- 
PATCHIndicates the SCM supportsstreaming patches.- Since:
- 6.7
- See Also:
 
- 
PULL_REQUESTSIndicates the SCM provides acommand factoryto create, view and mergepull requests.Note: SCMs may support cross-repositorypull requests, merging commits from one repository into another, but they are not required to do so.- See Also:
 
- 
PUSHIndicates the SCM supportspushinglocal repositories to an URL.- Since:
- 7.11
- See Also:
 
- 
REFS- See Also:
 
- 
REVERTIndicates the SCM supportsrevertingchanges in a repository.- Since:
- 8.13
- See Also:
 
- 
SIGNED_OBJECTSIndicates the SCM supports retrievingsigned objects.- Since:
- 5.1
 
- 
UPDATE_DEFAULT_BRANCHIndicates the SCM supportsupdating the default branchin its repositories.- See Also:
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
parse
 
-