Class ResolveRefCommandParameters


public class ResolveRefCommandParameters extends AbstractCommandParameters
Describes a ref to resolve.

If it is known whether a requested ref is a branch or a tag, the caller is encouraged to specify the type to allow the SCM to optimize resolving the ref. If the ref type is unknown, the type should be left null.

Since:
4.6
See Also:
  • Method Details

    • getRefId

      @Nonnull public String getRefId()
      Returns:
      the branch IDs to resolve
    • getType

      @Nonnull public Optional<RefType> getType()
      Returns:
      an optional RefType, used to limit scope for matching the refId, which may empty() but never null