Example usage for Java org.eclipse.jgit.transport RefSpec fields, constructors, methods, implement or subclass
The text is from its open source code.
String | WILDCARD_SUFFIX Suffix for wildcard ref spec component, that indicate matching all refs with specified prefix. |
RefSpec(String spec) Parse a ref specification for use during transport operations. | |
RefSpec(RefSpec p) | |
RefSpec() Construct an empty RefSpec. |
RefSpec | expandFromDestination(String r) Expand this specification to exactly match a ref name. |
RefSpec | expandFromDestination(Ref r) Expand this specification to exactly match a ref. |
RefSpec | expandFromSource(String r) Expand this specification to exactly match a ref name. |
RefSpec | expandFromSource(Ref r) Expand this specification to exactly match a ref. |
String | getDestination() Get the destination ref description. |
String | getSource() Get the source ref description. |
boolean | isForceUpdate() Check if this specification wants to forcefully update the destination. |
boolean | isWildcard(String s) Check whether provided string is a wildcard ref spec component. |
boolean | isWildcard() Check if this specification is actually a wildcard pattern. |
boolean | matchDestination(String r) Does this specification's destination description match the ref name? |
boolean | matchDestination(Ref r) Does this specification's destination description match the ref? |
boolean | matchSource(String r) Does this specification's source description match the ref name? |
boolean | matchSource(Ref r) Does this specification's source description match the ref? |
RefSpec | setDestination(String destination) Create a new RefSpec with a different destination name setting. |
RefSpec | setForceUpdate(boolean forceUpdate) Create a new RefSpec with a different force update setting. |
RefSpec | setSourceDestination(final String source, final String destination) Create a new RefSpec with a different source/destination name setting. |
String | toString() |