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