1 22 package org.objectweb.petals.tools.jbiplugin.mock; 23 24 import java.io.File ; 25 import java.util.Collection ; 26 import java.util.List ; 27 28 import org.apache.maven.artifact.Artifact; 29 import org.apache.maven.artifact.handler.ArtifactHandler; 30 import org.apache.maven.artifact.metadata.ArtifactMetadata; 31 import org.apache.maven.artifact.repository.ArtifactRepository; 32 import org.apache.maven.artifact.resolver.filter.ArtifactFilter; 33 import org.apache.maven.artifact.versioning.ArtifactVersion; 34 import org.apache.maven.artifact.versioning.OverConstrainedVersionException; 35 import org.apache.maven.artifact.versioning.VersionRange; 36 37 42 public class ArtifactMock implements Artifact { 43 44 public String getGroupId() { 45 return null; 46 } 47 48 public String getArtifactId() { 49 return null; 50 } 51 52 public String getVersion() { 53 return null; 54 } 55 56 public void setVersion(String arg0) { 57 } 58 59 public String getScope() { 60 return null; 61 } 62 63 public String getType() { 64 return null; 65 } 66 67 public String getClassifier() { 68 return null; 69 } 70 71 public boolean hasClassifier() { 72 return false; 73 } 74 75 public File getFile() { 76 return null; 77 } 78 79 public void setFile(File arg0) { 80 } 81 82 public String getBaseVersion() { 83 return null; 84 } 85 86 public void setBaseVersion(String arg0) { 87 } 88 89 public String getId() { 90 return null; 91 } 92 93 public String getDependencyConflictId() { 94 return null; 95 } 96 97 public void addMetadata(ArtifactMetadata arg0) { 98 } 99 100 public Collection getMetadataList() { 101 return null; 102 } 103 104 public void setRepository(ArtifactRepository arg0) { 105 } 106 107 public ArtifactRepository getRepository() { 108 return null; 109 } 110 111 public void updateVersion(String arg0, ArtifactRepository arg1) { 112 } 113 114 public String getDownloadUrl() { 115 return null; 116 } 117 118 public void setDownloadUrl(String arg0) { 119 } 120 121 public ArtifactFilter getDependencyFilter() { 122 return null; 123 } 124 125 public void setDependencyFilter(ArtifactFilter arg0) { 126 } 127 128 public ArtifactHandler getArtifactHandler() { 129 return null; 130 } 131 132 public List getDependencyTrail() { 133 return null; 134 } 135 136 public void setDependencyTrail(List arg0) { 137 } 138 139 public void setScope(String arg0) { 140 } 141 142 public VersionRange getVersionRange() { 143 return null; 144 } 145 146 public void setVersionRange(VersionRange arg0) { 147 } 148 149 public void selectVersion(String arg0) { 150 } 151 152 public void setGroupId(String arg0) { 153 } 154 155 public void setArtifactId(String arg0) { 156 } 157 158 public boolean isSnapshot() { 159 return false; 160 } 161 162 public void setResolved(boolean arg0) { 163 } 164 165 public boolean isResolved() { 166 return false; 167 } 168 169 public void setResolvedVersion(String arg0) { 170 } 171 172 public void setArtifactHandler(ArtifactHandler arg0) { 173 } 174 175 public boolean isRelease() { 176 return false; 177 } 178 179 public void setRelease(boolean arg0) { 180 } 181 182 public List getAvailableVersions() { 183 return null; 184 } 185 186 public void setAvailableVersions(List arg0) { 187 } 188 189 public boolean isOptional() { 190 return false; 191 } 192 193 public void setOptional(boolean arg0) { 194 } 195 196 public ArtifactVersion getSelectedVersion() 197 throws OverConstrainedVersionException { 198 return null; 199 } 200 201 public boolean isSelectedVersionKnown() 202 throws OverConstrainedVersionException { 203 return false; 204 } 205 206 public int compareTo(Object o) { 207 return 0; 208 } 209 210 } 211 | Popular Tags |