View Javadoc
1   package io.apicurio.registry.maven;
2   
3   import io.apicurio.registry.rest.v3.beans.IfArtifactExists;
4   
5   import java.io.File;
6   import java.util.List;
7   
8   public class RegisterArtifact {
9   
10      private String groupId;
11      private String artifactId;
12      private String version;
13      private String artifactType;
14      private File file;
15      private IfArtifactExists ifExists;
16      private Boolean canonicalize;
17      private Boolean minify;
18      private Boolean analyzeDirectory;
19      private Boolean autoRefs;
20      private Boolean isDraft;
21      private String contentType;
22      private List<RegisterArtifactReference> references;
23      private List<ExistingReference> existingReferences;
24  
25      /**
26       * Constructor.
27       */
28      public RegisterArtifact() {
29      }
30  
31      /**
32       * @return the groupId
33       */
34      public String getGroupId() {
35          return groupId;
36      }
37  
38      /**
39       * @param groupId the groupId to set
40       */
41      public void setGroupId(String groupId) {
42          this.groupId = groupId;
43      }
44  
45      /**
46       * @return the artifactId
47       */
48      public String getArtifactId() {
49          return artifactId;
50      }
51  
52      /**
53       * @param artifactId the artifactId to set
54       */
55      public void setArtifactId(String artifactId) {
56          this.artifactId = artifactId;
57      }
58  
59      /**
60       * @return the file
61       */
62      public File getFile() {
63          return file;
64      }
65  
66      /**
67       * @param file the file to set
68       */
69      public void setFile(File file) {
70          this.file = file;
71      }
72  
73      /**
74       * @return the ifExists
75       */
76      public IfArtifactExists getIfExists() {
77          return ifExists;
78      }
79  
80      /**
81       * @param ifExists the ifExists to set
82       */
83      public void setIfExists(IfArtifactExists ifExists) {
84          this.ifExists = ifExists;
85      }
86  
87      /**
88       * @return the canonicalize
89       */
90      public Boolean getCanonicalize() {
91          return canonicalize;
92      }
93  
94      /**
95       * @param canonicalize the canonicalize to set
96       */
97      public void setCanonicalize(Boolean canonicalize) {
98          this.canonicalize = canonicalize;
99      }
100 
101     /**
102      * @return the minify
103      */
104     public Boolean getMinify() {
105         return minify;
106     }
107 
108     /**
109      * @param minify the minify to set
110      */
111     public void setMinify(Boolean minify) {
112         this.minify = minify;
113     }
114 
115     /**
116      * @return the artifactType
117      */
118     public String getArtifactType() {
119         return artifactType;
120     }
121 
122     /**
123      * @param artifactType the artifact type to set
124      */
125     public void setArtifactType(String artifactType) {
126         this.artifactType = artifactType;
127     }
128 
129     /**
130      * @return the version
131      */
132     public String getVersion() {
133         return version;
134     }
135 
136     /**
137      * @param version the version to set
138      */
139     public void setVersion(String version) {
140         this.version = version;
141     }
142 
143     /**
144      * @return the content type
145      */
146     public String getContentType() {
147         return contentType;
148     }
149 
150     /**
151      * @param contentType the contentType to set
152      */
153     public void setContentType(String contentType) {
154         this.contentType = contentType;
155     }
156 
157     /**
158      * @return the referenced artifacts
159      */
160     public List<RegisterArtifactReference> getReferences() {
161         return references;
162     }
163 
164     /**
165      * @param references the references to set
166      */
167     public void setReferences(List<RegisterArtifactReference> references) {
168         this.references = references;
169     }
170 
171     public Boolean getAnalyzeDirectory() {
172         return analyzeDirectory;
173     }
174 
175     public void setAnalyzeDirectory(Boolean analyzeDirectory) {
176         this.analyzeDirectory = analyzeDirectory;
177     }
178 
179     public Boolean getAutoRefs() {
180         return autoRefs;
181     }
182 
183     public void setAutoRefs(Boolean autoRefs) {
184         this.autoRefs = autoRefs;
185     }
186 
187     public Boolean getIsDraft() {
188         return isDraft;
189     }
190 
191     public void setIsDraft(Boolean isDraft) {
192        this.isDraft = isDraft;
193     }
194 
195     public List<ExistingReference> getExistingReferences() {
196         return existingReferences;
197     }
198 
199     public void setExistingReferences(List<ExistingReference> existingReferences) {
200         this.existingReferences = existingReferences;
201     }
202 }