1 11 package org.eclipse.core.internal.events; 12 13 import org.eclipse.core.internal.resources.ICoreConstants; 14 import org.eclipse.core.internal.watson.ElementTree; 15 import org.eclipse.core.resources.IProject; 16 17 public class BuilderPersistentInfo { 18 protected String builderName; 19 23 private int buildSpecIndex = -1; 24 protected IProject[] interestingProjects = ICoreConstants.EMPTY_PROJECT_ARRAY; 25 protected ElementTree lastBuildTree; 26 protected String projectName; 27 28 public BuilderPersistentInfo(String projectName, String builderName, int buildSpecIndex) { 29 this.projectName = projectName; 30 this.builderName = builderName; 31 this.buildSpecIndex = buildSpecIndex; 32 } 33 public String getBuilderName() { 34 return builderName; 35 } 36 37 public int getBuildSpecIndex() { 38 return buildSpecIndex; 39 } 40 41 public IProject[] getInterestingProjects() { 42 return interestingProjects; 43 } 44 45 public ElementTree getLastBuiltTree() { 46 return lastBuildTree; 47 } 48 49 public String getProjectName() { 50 return projectName; 51 } 52 53 public void setInterestingProjects(IProject[] projects) { 54 interestingProjects = projects; 55 } 56 57 public void setLastBuildTree(ElementTree tree) { 58 lastBuildTree = tree; 59 } 60 } 61 | Popular Tags |