Java org.eclipse.jgit.transport RefSpec fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.transport RefSpec fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.transport RefSpec.

The text is from its open source code.

Field

StringWILDCARD_SUFFIX
Suffix for wildcard ref spec component, that indicate matching all refs with specified prefix.

Constructor

RefSpec(String spec)
Parse a ref specification for use during transport operations.
RefSpec(RefSpec p)
RefSpec()
Construct an empty RefSpec.

Method

RefSpecexpandFromDestination(String r)
Expand this specification to exactly match a ref name.
RefSpecexpandFromDestination(Ref r)
Expand this specification to exactly match a ref.
RefSpecexpandFromSource(String r)
Expand this specification to exactly match a ref name.
RefSpecexpandFromSource(Ref r)
Expand this specification to exactly match a ref.
StringgetDestination()
Get the destination ref description.
StringgetSource()
Get the source ref description.
booleanisForceUpdate()
Check if this specification wants to forcefully update the destination.
booleanisWildcard(String s)
Check whether provided string is a wildcard ref spec component.
booleanisWildcard()
Check if this specification is actually a wildcard pattern.
booleanmatchDestination(String r)
Does this specification's destination description match the ref name?
booleanmatchDestination(Ref r)
Does this specification's destination description match the ref?
booleanmatchSource(String r)
Does this specification's source description match the ref name?
booleanmatchSource(Ref r)
Does this specification's source description match the ref?
RefSpecsetDestination(String destination)
Create a new RefSpec with a different destination name setting.
RefSpecsetForceUpdate(boolean forceUpdate)
Create a new RefSpec with a different force update setting.
RefSpecsetSourceDestination(final String source, final String destination)
Create a new RefSpec with a different source/destination name setting.
StringtoString()