Java 类hudson.model.Actionable 实例源码

项目:gitlab-branch-source-plugin    文件:GitLabBranchFilter.java   
private boolean filter(Item item) {
    return !(item instanceof Actionable) || !defaultBranchOnly || ((Actionable) item).getAction(PrimaryInstanceMetadataAction.class) != null;
}
项目:google-storage-plugin    文件:AbstractGcsUploadReport.java   
/**
 * @param parent the parent object of this action.
 * @see #getParent().
 */
AbstractGcsUploadReport(Actionable parent) {
  this.parent = checkNotNull(parent);
}
项目:google-storage-plugin    文件:AbstractGcsUploadReport.java   
/**
 * @return the parent object of this action. For a build action,
 *         this is the containing build. For a project action, this is the
 *         containing project.
 */
public Actionable getParent() {
  return parent;
}