Class RepositoryType

java.lang.Object
sonia.scm.Type
sonia.scm.repository.RepositoryType

public class RepositoryType extends Type
The type (mercurial, subversion, git) of a Repository.
Since:
1.18
  • Constructor Details

    • RepositoryType

      public RepositoryType()
      This constructor is required for JAXB.
    • RepositoryType

      public RepositoryType(String name, String displayName, Set<Command> supportedCommands)
      Constructs a new RepositoryType object.
      Parameters:
      name - name of the type
      displayName - display name of the type
      supportedCommands - supported commands of the type
    • RepositoryType

      public RepositoryType(String name, String displayName, Set<Command> supportedCommands, Set<Feature> supportedFeatures)
      Constructs a new RepositoryType object.
      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

    • getSupportedCommands

      public Set<Command> getSupportedCommands()
      Returns a set of commands, which are supported by the repository type.
    • getSupportedFeatures

      public Set<Feature> getSupportedFeatures()
      Returns a set of features, which are supported by the repository type.
      Since:
      1.25