Package sonia.scm.repository
Class RepositoryType
java.lang.Object
sonia.scm.Type
sonia.scm.repository.RepositoryType
The type (mercurial, subversion, git) of a
Repository
.- Since:
- 1.18
-
Constructor Summary
ConstructorsConstructorDescriptionThis constructor is required for JAXB.RepositoryType
(String name, String displayName, Set<Command> supportedCommands) Constructs a newRepositoryType
object.RepositoryType
(String name, String displayName, Set<Command> supportedCommands, Set<Feature> supportedFeatures) Constructs a newRepositoryType
object. -
Method Summary
Modifier and TypeMethodDescriptionReturns a set of commands, which are supported by the repository type.Returns a set of features, which are supported by the repository type.Methods inherited from class sonia.scm.Type
equals, getDisplayName, getName, hashCode, setDisplayName, setName, toString
-
Constructor Details
-
RepositoryType
public RepositoryType()This constructor is required for JAXB. -
RepositoryType
Constructs a newRepositoryType
object.- Parameters:
name
- name of the typedisplayName
- display name of the typesupportedCommands
- supported commands of the type
-
RepositoryType
public RepositoryType(String name, String displayName, Set<Command> supportedCommands, Set<Feature> supportedFeatures) Constructs a newRepositoryType
object.- Parameters:
name
- name of the typedisplayName
- display name of the typesupportedCommands
- supported commands of the typesupportedFeatures
- supported features of the type- Since:
- 1.25
-
-
Method Details
-
getSupportedCommands
Returns a set of commands, which are supported by the repository type. -
getSupportedFeatures
Returns a set of features, which are supported by the repository type.- Since:
- 1.25
-