org.zeroturnaround.jenkins.util
Class ArtifactAndMetadataDescriptor<T extends hudson.model.Describable<T>>

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by org.zeroturnaround.jenkins.util.ArtifactAndMetadataDescriptor<T>
All Implemented Interfaces:
hudson.model.Saveable
Direct Known Subclasses:
DeployOrUpdate.DescriptorImpl, Upload.DescriptorImpl

public class ArtifactAndMetadataDescriptor<T extends hudson.model.Describable<T>>
extends hudson.model.Descriptor<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ArtifactAndMetadataDescriptor()
           
 
Method Summary
 hudson.util.FormValidation doCheckArtifact(hudson.model.AbstractProject project, String value)
           
 hudson.util.FormValidation doCheckMetadata(hudson.model.AbstractProject project, String value)
           
 String getDisplayName()
           
 boolean isMetadataSupported()
           
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactAndMetadataDescriptor

public ArtifactAndMetadataDescriptor()
Method Detail

doCheckArtifact

public hudson.util.FormValidation doCheckArtifact(@AncestorInPath
                                                  hudson.model.AbstractProject project,
                                                  @QueryParameter
                                                  String value)
                                           throws IOException,
                                                  javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckMetadata

public hudson.util.FormValidation doCheckMetadata(@AncestorInPath
                                                  hudson.model.AbstractProject project,
                                                  @QueryParameter
                                                  String value)
                                           throws IOException,
                                                  javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

isMetadataSupported

public boolean isMetadataSupported()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<T extends hudson.model.Describable<T>>


Copyright © 2004-2012 Hudson. All Rights Reserved.