Modifier and Type | Class and Description |
---|---|
static class |
VCSRef.Type
VCS Ref types
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<VCSRef> |
IS_BRANCH
Constant
IS_BRANCH |
static com.google.common.base.Predicate<VCSRef> |
IS_TAG
Constant
IS_TAG |
static com.google.common.collect.Ordering<VCSRef> |
SORT_BY_NAME
Constant
SORT_BY_NAME |
Constructor and Description |
---|
VCSRef(VCSRef.Type type,
String name,
String id)
Constructor for VCSRef.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Getter for the field
id . |
String |
getName()
Getter for the field
name . |
VCSRef.Type |
getType()
Getter for the field
type . |
void |
setId(String id)
Setter for the field
id . |
void |
setName(String name)
Setter for the field
name . |
void |
setType(VCSRef.Type type)
Setter for the field
type . |
String |
toString() |
public static final com.google.common.base.Predicate<VCSRef> IS_TAG
IS_TAG
public static final com.google.common.base.Predicate<VCSRef> IS_BRANCH
IS_BRANCH
public static final com.google.common.collect.Ordering<VCSRef> SORT_BY_NAME
SORT_BY_NAME
public VCSRef(@NotNull VCSRef.Type type, @NotNull String name, @NotNull String id)
Constructor for VCSRef.
type
- a VCSRef.Type
object.name
- a String
object.id
- a String
object.public void setName(String name)
Setter for the field name
.
name
- a String
object.public VCSRef.Type getType()
Getter for the field type
.
VCSRef.Type
object.public void setType(VCSRef.Type type)
Setter for the field type
.
type
- a VCSRef.Type
object.Copyright © 2011–2016 eXo Platform SAS. All rights reserved.