Class BitbucketNodeEntity
- java.lang.Object
-
- com.atlassian.bamboo.plugins.bitbucket.api.rest.entity.node.BitbucketNodeEntity
-
public class BitbucketNodeEntity extends Object
-
-
Constructor Summary
Constructors Constructor Description BitbucketNodeEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable BitbucketNodeEntity
from(@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject json)
Convert plain JSON object to BitbucketNodeEntity.String
getBranch()
static BitbucketNodeEntity
mainBranchOf(com.opensymphony.webwork.dispatcher.json.JSONObject json)
static com.google.common.collect.Ordering<BitbucketNodeEntity>
orderingByBranchName()
void
setBranch(String branch)
-
-
-
Method Detail
-
from
@Nullable public static @Nullable BitbucketNodeEntity from(@NotNull @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject json)
Convert plain JSON object to BitbucketNodeEntity.- Returns:
- BitbucketNodeEntity
-
mainBranchOf
public static BitbucketNodeEntity mainBranchOf(com.opensymphony.webwork.dispatcher.json.JSONObject json)
-
orderingByBranchName
public static com.google.common.collect.Ordering<BitbucketNodeEntity> orderingByBranchName()
-
getBranch
public String getBranch()
-
setBranch
public void setBranch(String branch)
-
-