[jboss-svn-commits] JBL Code SVN: r6574 - in labs/jbosslabs/trunk/portal-extensions/forge-common/src: java/org/jboss/forge/common/projects/test web/WEB-INF
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Oct 4 09:29:52 EDT 2006
Author: unibrew
Date: 2006-10-04 09:29:47 -0400 (Wed, 04 Oct 2006)
New Revision: 6574
Added:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildResult.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Developers.java
Modified:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
Log:
[JBLAB-754] Adding parsing for new data in project.xml.
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildResult.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildResult.java 2006-10-04 13:13:54 UTC (rev 6573)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildResult.java 2006-10-04 13:29:47 UTC (rev 6574)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * Class for keeping information about project's build results.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "build-result", propOrder = {
+ "value"
+})
+public class BuildResult {
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(required = true)
+ protected BuildType type;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link BuildType }
+ *
+ */
+ public BuildType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BuildType }
+ *
+ */
+ public void setType(BuildType value) {
+ this.type = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildType.java 2006-10-04 13:13:54 UTC (rev 6573)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/BuildType.java 2006-10-04 13:29:47 UTC (rev 6574)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of possbile builder applications.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for BuildType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="BuildType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="CruiseControl"/>
+ * <enumeration value="Continuum"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum BuildType {
+
+ @XmlEnumValue("CruiseControl")
+ CRUISE_CONTROL("CruiseControl"),
+ @XmlEnumValue("Continuum")
+ CONTINUUM("Continuum");
+ private final String value;
+
+ BuildType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static BuildType fromValue(String v) {
+ for (BuildType c: BuildType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v.toString());
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Developers.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Developers.java 2006-10-04 13:13:54 UTC (rev 6573)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Developers.java 2006-10-04 13:29:47 UTC (rev 6574)
@@ -0,0 +1,108 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * This class will collect project developers.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "developers", propOrder = {
+ "leadDeveloper",
+ "developers"
+})
+public class Developers {
+
+ @XmlElement(name = "lead-developer")
+ protected String leadDeveloper;
+ @XmlElement(name = "developer")
+ protected List<String> developers;
+
+ /**
+ * Gets the value of the leadDeveloper property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLeadDeveloper() {
+ return leadDeveloper;
+ }
+
+ /**
+ * Sets the value of the leadDeveloper property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLeadDeveloper(String value) {
+ this.leadDeveloper = value;
+ }
+
+ /**
+ * Gets the value of the developers property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the developers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDevelopers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getDevelopers() {
+ if (developers == null) {
+ developers = new ArrayList<String>();
+ }
+ return this.developers;
+ }
+
+}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java 2006-10-04 13:13:54 UTC (rev 6573)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java 2006-10-04 13:29:47 UTC (rev 6574)
@@ -23,8 +23,6 @@
package org.jboss.forge.common.projects.test;
import javax.xml.bind.annotation.XmlRegistry;
-import org.jboss.forge.common.projects.test.Downloads.Counters;
-import org.jboss.forge.common.projects.test.File.Button;
/**
@@ -53,35 +51,35 @@
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.RepoMonitor }
+ * Create an instance of {@link File }
*
*/
- public org.jboss.forge.common.projects.test.Menu.RepoMonitor createMenuRepoMonitor() {
- return new org.jboss.forge.common.projects.test.Menu.RepoMonitor();
+ public File createFile() {
+ return new File();
}
/**
- * Create an instance of {@link Polls }
+ * Create an instance of {@link Menu.Documentation }
*
*/
- public Polls createPolls() {
- return new Polls();
+ public Menu.Documentation createMenuDocumentation() {
+ return new Menu.Documentation();
}
/**
- * Create an instance of {@link Button }
+ * Create an instance of {@link Files }
*
*/
- public Button createFileButton() {
- return new Button();
+ public Files createFiles() {
+ return new Files();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Forum }
+ * Create an instance of {@link Menu.RepoMonitor }
*
*/
- public org.jboss.forge.common.projects.test.Menu.Forum createMenuForum() {
- return new org.jboss.forge.common.projects.test.Menu.Forum();
+ public Menu.RepoMonitor createMenuRepoMonitor() {
+ return new Menu.RepoMonitor();
}
/**
@@ -93,62 +91,70 @@
}
/**
- * Create an instance of {@link Downloads }
+ * Create an instance of {@link BuildResult }
*
*/
- public Downloads createDownloads() {
- return new Downloads();
+ public BuildResult createBuildResult() {
+ return new BuildResult();
}
/**
- * Create an instance of {@link Menu }
+ * Create an instance of {@link Project }
*
*/
- public Menu createMenu() {
- return new Menu();
+ public Project createProject() {
+ return new Project();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.RepoMonitor }
+ * Create an instance of {@link Category }
*
*/
- public org.jboss.forge.common.projects.test.RepoMonitor createRepoMonitor() {
- return new org.jboss.forge.common.projects.test.RepoMonitor();
+ public Category createCategory() {
+ return new Category();
}
/**
- * Create an instance of {@link File }
+ * Create an instance of {@link org.jboss.forge.common.projects.test.Documentation }
*
*/
- public File createFile() {
- return new File();
+ public org.jboss.forge.common.projects.test.Documentation createDocumentation() {
+ return new org.jboss.forge.common.projects.test.Documentation();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Forum }
+ * Create an instance of {@link Menu.IssueTracker }
*
*/
- public org.jboss.forge.common.projects.test.Forum createForum() {
- return new org.jboss.forge.common.projects.test.Forum();
+ public Menu.IssueTracker createMenuIssueTracker() {
+ return new Menu.IssueTracker();
}
/**
- * Create an instance of {@link Poll }
+ * Create an instance of {@link File.Button }
*
*/
- public Poll createPoll() {
- return new Poll();
+ public File.Button createFileButton() {
+ return new File.Button();
}
/**
- * Create an instance of {@link Counters }
+ * Create an instance of {@link Polls }
*
*/
- public Counters createDownloadsCounters() {
- return new Counters();
+ public Polls createPolls() {
+ return new Polls();
}
/**
+ * Create an instance of {@link Repository }
+ *
+ */
+ public Repository createRepository() {
+ return new Repository();
+ }
+
+ /**
* Create an instance of {@link Categories }
*
*/
@@ -157,83 +163,91 @@
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Documentation }
+ * Create an instance of {@link Developers }
*
*/
- public org.jboss.forge.common.projects.test.Documentation createDocumentation() {
- return new org.jboss.forge.common.projects.test.Documentation();
+ public Developers createDevelopers() {
+ return new Developers();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.SupportService }
+ * Create an instance of {@link Page }
*
*/
- public org.jboss.forge.common.projects.test.Menu.SupportService createMenuSupportService() {
- return new org.jboss.forge.common.projects.test.Menu.SupportService();
+ public Page createPage() {
+ return new Page();
}
/**
- * Create an instance of {@link Repository }
+ * Create an instance of {@link org.jboss.forge.common.projects.test.SupportService }
*
*/
- public Repository createRepository() {
- return new Repository();
+ public org.jboss.forge.common.projects.test.SupportService createSupportService() {
+ return new org.jboss.forge.common.projects.test.SupportService();
}
/**
- * Create an instance of {@link Project }
+ * Create an instance of {@link org.jboss.forge.common.projects.test.RepoMonitor }
*
*/
- public Project createProject() {
- return new Project();
+ public org.jboss.forge.common.projects.test.RepoMonitor createRepoMonitor() {
+ return new org.jboss.forge.common.projects.test.RepoMonitor();
}
/**
- * Create an instance of {@link Category }
+ * Create an instance of {@link Menu.Forum }
*
*/
- public Category createCategory() {
- return new Category();
+ public Menu.Forum createMenuForum() {
+ return new Menu.Forum();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.IssueTracker }
+ * Create an instance of {@link Menu.SupportService }
*
*/
- public org.jboss.forge.common.projects.test.Menu.IssueTracker createMenuIssueTracker() {
- return new org.jboss.forge.common.projects.test.Menu.IssueTracker();
+ public Menu.SupportService createMenuSupportService() {
+ return new Menu.SupportService();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Documentation }
+ * Create an instance of {@link Downloads }
*
*/
- public org.jboss.forge.common.projects.test.Menu.Documentation createMenuDocumentation() {
- return new org.jboss.forge.common.projects.test.Menu.Documentation();
+ public Downloads createDownloads() {
+ return new Downloads();
}
/**
- * Create an instance of {@link org.jboss.forge.common.projects.test.SupportService }
+ * Create an instance of {@link Poll }
*
*/
- public org.jboss.forge.common.projects.test.SupportService createSupportService() {
- return new org.jboss.forge.common.projects.test.SupportService();
+ public Poll createPoll() {
+ return new Poll();
}
/**
- * Create an instance of {@link Files }
+ * Create an instance of {@link org.jboss.forge.common.projects.test.Forum }
*
*/
- public Files createFiles() {
- return new Files();
+ public org.jboss.forge.common.projects.test.Forum createForum() {
+ return new org.jboss.forge.common.projects.test.Forum();
}
/**
- * Create an instance of {@link Page }
+ * Create an instance of {@link Menu }
*
*/
- public Page createPage() {
- return new Page();
+ public Menu createMenu() {
+ return new Menu();
}
+ /**
+ * Create an instance of {@link Downloads.Counters }
+ *
+ */
+ public Downloads.Counters createDownloadsCounters() {
+ return new Downloads.Counters();
+ }
+
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java 2006-10-04 13:13:54 UTC (rev 6573)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java 2006-10-04 13:29:47 UTC (rev 6574)
@@ -48,10 +48,12 @@
"companyName",
"logo",
"description",
+ "developers",
"jems",
"repository",
"repoMonitor",
"issueTracker",
+ "buildResults",
"supportServices",
"forums",
"documentation",
@@ -62,35 +64,29 @@
@XmlRootElement(name = "project")
public class Project {
- @XmlElement(namespace = "http://jboss.org", required = true)
+ @XmlElement(required = true)
protected String id;
- @XmlElement(namespace = "http://jboss.org", required = true)
+ @XmlElement(required = true)
protected String name;
- @XmlElement(name = "company-name", namespace = "http://jboss.org")
+ @XmlElement(name = "company-name")
protected String companyName;
- @XmlElement(namespace = "http://jboss.org")
protected String logo;
- @XmlElement(namespace = "http://jboss.org")
protected String description;
- @XmlElement(namespace = "http://jboss.org", required = true)
+ protected Developers developers;
protected List<String> jems;
- @XmlElement(namespace = "http://jboss.org", required = true)
protected List<Repository> repository;
- @XmlElement(name = "repo-monitor", namespace = "http://jboss.org", required = true)
+ @XmlElement(name = "repo-monitor")
protected List<RepoMonitor> repoMonitor;
- @XmlElement(name = "issue-tracker", namespace = "http://jboss.org", required = true)
+ @XmlElement(name = "issue-tracker")
protected List<IssueTracker> issueTracker;
- @XmlElement(name = "support-services", namespace = "http://jboss.org", required = true)
+ @XmlElement(name = "build-results")
+ protected List<BuildResult> buildResults;
+ @XmlElement(name = "support-services")
protected List<SupportService> supportServices;
- @XmlElement(namespace = "http://jboss.org", required = true)
protected List<Forum> forums;
- @XmlElement(namespace = "http://jboss.org", required = true)
protected List<Documentation> documentation;
- @XmlElement(namespace = "http://jboss.org")
protected Menu menu;
- @XmlElement(namespace = "http://jboss.org")
protected Downloads downloads;
- @XmlElement(namespace = "http://jboss.org")
protected Polls polls;
/**
@@ -214,6 +210,30 @@
}
/**
+ * Gets the value of the developers property.
+ *
+ * @return
+ * possible object is
+ * {@link Developers }
+ *
+ */
+ public Developers getDevelopers() {
+ return developers;
+ }
+
+ /**
+ * Sets the value of the developers property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Developers }
+ *
+ */
+ public void setDevelopers(Developers value) {
+ this.developers = value;
+ }
+
+ /**
* Gets the value of the jems property.
*
* <p>
@@ -330,6 +350,35 @@
}
/**
+ * Gets the value of the buildResults property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the buildResults property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBuildResults().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link BuildResult }
+ *
+ *
+ */
+ public List<BuildResult> getBuildResults() {
+ if (buildResults == null) {
+ buildResults = new ArrayList<BuildResult>();
+ }
+ return this.buildResults;
+ }
+
+ /**
* Gets the value of the supportServices property.
*
* <p>
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd 2006-10-04 13:13:54 UTC (rev 6573)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd 2006-10-04 13:29:47 UTC (rev 6574)
@@ -53,10 +53,12 @@
<xs:element name="company-name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="logo" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
+ <xs:element name="developers" type="developers" minOccurs="0" maxOccurs="1" />
<xs:element name="jems" minOccurs="0" maxOccurs="unbounded" type="xs:string" />
<xs:element name="repository" minOccurs="0" maxOccurs="unbounded" type="repository" />
<xs:element name="repo-monitor" minOccurs="0" maxOccurs="unbounded" type="repo-monitor" />
<xs:element name="issue-tracker" minOccurs="0" maxOccurs="unbounded" type="issue-tracker" />
+ <xs:element name="build-results" type="build-result" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="support-services" minOccurs="0" maxOccurs="unbounded" type="support-service" />
<xs:element name="forums" minOccurs="0" maxOccurs="unbounded" type="forum" />
<xs:element name="documentation" minOccurs="0" maxOccurs="unbounded" type="documentation" />
@@ -69,6 +71,79 @@
<!-- -->
+<!-- DEVELOPERS -->
+<!-- -->
+
+<xs:complexType name="developers" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ This class will collect project developers.
+ PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="lead-developer" minOccurs="0" maxOccurs="1" type="xs:string" />
+ <xs:element name="developer" minOccurs="0" maxOccurs="unbounded" type="xs:string" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:property name="developers"/>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+</xs:complexType>
+
+
+
+<!-- -->
+<!-- BUILD RESULT -->
+<!-- -->
+
+<xs:complexType name="build-result" mixed="true" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about project's build results.
+ PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string" >
+ <xs:attribute name="type" use="required" type="BuildType" />
+ </xs:extension>
+ </xs:simpleContent>
+</xs:complexType>
+
+ <xs:simpleType name="BuildType" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:typesafeEnumClass>
+ <jxb:javadoc>
+ Enum describing types of possbile builder applications.
+ PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:typesafeEnumClass>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="CruiseControl"/>
+ <xs:enumeration value="Continuum"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+
+
+<!-- -->
<!-- REPOSITORY AND TASKTRACKERS -->
<!-- -->
More information about the jboss-svn-commits
mailing list