|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
com.zanox.hudson.plugins.FTPPublisher.DescriptorImpl
public static final class FTPPublisher.DescriptorImpl
This class holds the metadata for the FTPPublisher.
Descriptor
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 | |
---|---|
FTPPublisher.DescriptorImpl()
The default constructor. |
Method Summary | |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
hudson.util.FormValidation |
doLoginCheck(org.kohsuke.stapler.StaplerRequest request)
This method validates the current entered ftp configuration data. |
java.lang.String |
getDisplayName()
The name of the plugin to display them on the project configuration web page. |
java.lang.String |
getHelpFile()
Return the location of the help document for this publisher. |
FTPSite[] |
getSites()
The getter of the sites field. |
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
|
boolean |
isFlatten(FTPPublisher pub)
|
boolean |
isFlattenFilesSelectedByDefault()
|
hudson.tasks.Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
This method is called by hudson if the user has clicked the add button of the FTP repository hosts point in the System Configuration web page. |
void |
setFlattenFilesSelectedByDefault(boolean flattenFilesSelectedByDefault)
|
Methods inherited from class hudson.tasks.BuildStepDescriptor |
---|
filter |
Methods inherited from class hudson.model.Descriptor |
---|
configure, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, 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 |
---|
public FTPPublisher.DescriptorImpl()
Method Detail |
---|
public void setFlattenFilesSelectedByDefault(boolean flattenFilesSelectedByDefault)
public boolean isFlattenFilesSelectedByDefault()
public java.lang.String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
Descriptor.getDisplayName()
public java.lang.String getHelpFile()
getHelpFile
in class hudson.model.Descriptor<hudson.tasks.Publisher>
Descriptor.getHelpFile()
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
FTPPublisher
class and added all configured ftp sites to this instance by calling
the method FTPPublisher.getEntries()
and on it's return value the addAll method is called.
newInstance
in class hudson.model.Descriptor<hudson.tasks.Publisher>
req
-
Descriptor.newInstance(org.kohsuke.stapler.StaplerRequest)
public boolean isFlatten(FTPPublisher pub)
public FTPSite[] getSites()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
req
-
Descriptor.configure(org.kohsuke.stapler.StaplerRequest)
public hudson.util.FormValidation doLoginCheck(org.kohsuke.stapler.StaplerRequest request)
request
- the current HttpServletRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |