Need to be able to tell if this is a creation / deletion of a ref for multibranch projects

This commit is contained in:
Stephen Connolly
2016-11-11 14:18:47 +00:00
parent 498d63ea00
commit d36e145d06

View File

@@ -509,6 +509,18 @@ public abstract class GHEventPayload {
return size;
}
public boolean isCreated() {
return created;
}
public boolean isDeleted() {
return deleted;
}
public boolean isForced() {
return forced;
}
/**
* The list of pushed commits.
*/