-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
662 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/main/java/de/aservo/confapi/crowd/model/ApplicationBean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package de.aservo.confapi.crowd.model; | ||
|
||
import de.aservo.confapi.commons.constants.ConfAPI; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.xml.bind.annotation.XmlElement; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@XmlRootElement(name = ConfAPI.APPLICATION) | ||
public class ApplicationBean { | ||
|
||
public enum ApplicationType { | ||
GENERIC, | ||
PLUGIN, | ||
CROWD, | ||
JIRA, | ||
CONFLUENCE, | ||
BITBUCKET, | ||
FISHEYE, | ||
CRUCIBLE, | ||
BAMBOO, | ||
; | ||
} | ||
|
||
@XmlElement | ||
private String name; | ||
|
||
@XmlElement | ||
private String description; | ||
|
||
@XmlElement | ||
private Boolean active; | ||
|
||
@XmlElement | ||
private ApplicationType type; | ||
|
||
@XmlElement | ||
private String password; | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/de/aservo/confapi/crowd/model/ApplicationsBean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package de.aservo.confapi.crowd.model; | ||
|
||
import de.aservo.confapi.commons.constants.ConfAPI; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.xml.bind.annotation.XmlElement; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
import java.util.Collection; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@XmlRootElement(name = ConfAPI.APPLICATIONS) | ||
public class ApplicationsBean { | ||
|
||
@XmlElement | ||
private Collection<ApplicationBean> applications; | ||
|
||
} |
Oops, something went wrong.