Class BranchInfo
- java.lang.Object
-
- com.github.kostyasha.github.integration.branch.webhook.BranchInfo
-
public class BranchInfo extends Object
Main info from webhook event.- Author:
- Kanstantsin Shautsou
- See Also:
GHBranchSubscriber
-
-
Constructor Summary
Constructors Constructor Description BranchInfo(String repo, String branchName, String fullRef, boolean tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBranchName()
String
getFullRef()
String
getRepo()
boolean
isTag()
BranchInfo
withBranchName(String branchName)
BranchInfo
withFullRef(String fullRef)
BranchInfo
withRepo(String repo)
-
-
-
Method Detail
-
isTag
public boolean isTag()
-
getRepo
public String getRepo()
-
withRepo
public BranchInfo withRepo(String repo)
-
getBranchName
public String getBranchName()
-
withBranchName
public BranchInfo withBranchName(String branchName)
-
getFullRef
public String getFullRef()
-
withFullRef
public BranchInfo withFullRef(String fullRef)
-
-