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