Class CreateCommandParameters


public class CreateCommandParameters extends AbstractCommandParameters
Parameters describing how a new repository should be created by the SCM.
Since:
7.5
  • Method Details

    • getDefaultBranch

      @Nullable public String getDefaultBranch()
      Retrieves the default branch that should be set when the repository is created. If no default is specified, the SCM will use its own. What that default is is not documented here because it is SCM-specific, and may change between SCM releases.
      Returns:
      the default branch to set, or null to use the SCM's default branch