mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-18 13:32:10 +01:00
replace @data annotation with explicit annotations
This commit is contained in:
@@ -26,8 +26,15 @@ package sonia.scm.plugin;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@@ -38,14 +45,17 @@ import java.util.Set;
|
||||
* @author Sebastian Sdorra
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ToString
|
||||
@EqualsAndHashCode
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public final class ClassElement {
|
||||
|
||||
@XmlElement(name = "class")
|
||||
private String clazz;
|
||||
private String description;
|
||||
private Set<String> requires = new HashSet<>();
|
||||
|
||||
ClassElement() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user