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 SummaryConstructorsConstructorDescriptionThis constructor is required for JAXB.RepositoryType(String name, String displayName, Set<Command> supportedCommands) Constructs a newRepositoryTypeobject.RepositoryType(String name, String displayName, Set<Command> supportedCommands, Set<Feature> supportedFeatures) Constructs a newRepositoryTypeobject.
- 
Method SummaryModifier 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.Typeequals, getDisplayName, getName, hashCode, setDisplayName, setName, toString
- 
Constructor Details- 
RepositoryTypepublic RepositoryType()This constructor is required for JAXB.
- 
RepositoryTypeConstructs a newRepositoryTypeobject.- Parameters:
- name- name of the type
- displayName- display name of the type
- supportedCommands- supported commands of the type
 
- 
RepositoryTypepublic RepositoryType(String name, String displayName, Set<Command> supportedCommands, Set<Feature> supportedFeatures) Constructs a newRepositoryTypeobject.- Parameters:
- name- name of the type
- displayName- display name of the type
- supportedCommands- supported commands of the type
- supportedFeatures- supported features of the type
- Since:
- 1.25
 
 
- 
- 
Method Details- 
getSupportedCommandsReturns a set of commands, which are supported by the repository type.
- 
getSupportedFeaturesReturns a set of features, which are supported by the repository type.- Since:
- 1.25
 
 
-