A database table will be created for this class. Emmanuel jmcconnell@apache.org a écrit : > Author: jmcconnell > Date: Wed Nov 1 13:29:24 2006 > New Revision: 470106 > > URL: http://svn.apache.org/viewvc?view=rev&rev=470106 > Log: > remove the java file from the model project and generate via modello like all the others > > Removed: > maven/continuum/trunk/continuum-model/src/main/java/ > Modified: > maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml > > Modified: maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml > URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml?view=diff&rev=470106&r1=470105&r2=470106 > ============================================================================== > --- maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml (original) > +++ maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml Wed Nov 1 13:29:24 2006 > @@ -1181,5 +1181,69 @@ > > > > + > + > + ContinuumProjectState > + org.apache.maven.continuum.project > + 1.0.0+ > + > + > + name > + 1.0.0+ > + String > + > + > + > + > + 1.0.0+ > + + public final static int NEW = 1; > + public final static int OK = 2; > + public final static int FAILED = 3; > + public final static int ERROR = 4; > + public final static int BUILDING = 6; > + public final static int CHECKING_OUT = 7; > + public final static int UPDATING = 8; > + public final static int WARNING = 9; > + public final static int CHECKEDOUT = 10; > + > + // TODO: maybe move these to another class > + public static final int TRIGGER_FORCED = 1; > + > + // TODO: remove > + public static final int TRIGGER_SCHEDULED = 0; > + > + public static final int TRIGGER_UNKNOWN = TRIGGER_SCHEDULED; > + > + public String getI18nKey() > + { > + return "org.apache.maven.continuum.project.state." + name; > + } > + > + public boolean equals( Object object ) > + { > + if ( !( object instanceof ContinuumProjectState ) ) > + { > + return false; > + } > + > + ContinuumProjectState other = (ContinuumProjectState) object; > + > + return name.equals( other.name ); > + } > + > + public int hashCode() > + { > + return name.hashCode(); > + } > + > + public String toString() > + { > + return name; > + } > + ]]> > + > + > + > > > > > > >