1
2
3
4
5
6
7
8 package org.apache.maven.continuum.model.project;
9
10
11
12
13
14 import org.apache.continuum.model.project.ProjectScmRoot;
15 import org.apache.continuum.model.release.ContinuumReleaseResult;
16 import org.apache.continuum.model.repository.AbstractPurgeConfiguration;
17 import org.apache.continuum.model.repository.DirectoryPurgeConfiguration;
18 import org.apache.continuum.model.repository.LocalRepository;
19 import org.apache.continuum.model.repository.RepositoryPurgeConfiguration;
20 import org.apache.maven.continuum.model.scm.ChangeFile;
21 import org.apache.maven.continuum.model.scm.ChangeSet;
22 import org.apache.maven.continuum.model.scm.ScmResult;
23 import org.apache.maven.continuum.model.system.Installation;
24 import org.apache.maven.continuum.model.system.NotificationAddress;
25 import org.apache.maven.continuum.model.system.Profile;
26 import org.apache.maven.continuum.model.system.SystemConfiguration;
27 import org.apache.maven.continuum.project.ContinuumProjectState;
28
29
30
31
32
33
34
35
36 @SuppressWarnings( "all" )
37 public class BuildQueue
38 implements java.io.Serializable
39 {
40
41
42
43
44
45
46
47
48 private int id = 0;
49
50
51
52
53 private String name = "";
54
55
56
57
58
59
60
61
62
63
64
65
66 public boolean equals( Object other )
67 {
68 if ( this == other )
69 {
70 return true;
71 }
72
73 if ( !( other instanceof BuildQueue ) )
74 {
75 return false;
76 }
77
78 BuildQueue that = (BuildQueue) other;
79 boolean result = true;
80
81 result = result && id == that.id;
82
83 return result;
84 }
85
86
87
88
89
90
91 public int getId()
92 {
93 return this.id;
94 }
95
96
97
98
99
100
101 public String getName()
102 {
103 return this.name;
104 }
105
106
107
108
109
110
111 public int hashCode()
112 {
113 int result = 17;
114
115 result = 37 * result + (int) id;
116
117 return result;
118 }
119
120
121
122
123
124
125 public void setId( int id )
126 {
127 this.id = id;
128 }
129
130
131
132
133
134
135 public void setName( String name )
136 {
137 this.name = name;
138 }
139
140
141
142
143
144
145 public java.lang.String toString()
146 {
147 StringBuilder buf = new StringBuilder( 128 );
148
149 buf.append( "id = '" );
150 buf.append( getId() );
151 buf.append( "'" );
152
153 return buf.toString();
154 }
155
156 }