org.jenkinsci.plugins.relution
Class Application
java.lang.Object
hudson.model.AbstractDescribableImpl<Application>
org.jenkinsci.plugins.relution.Application
- All Implemented Interfaces:
- hudson.model.Describable<Application>
public class Application
- extends hudson.model.AbstractDescribableImpl<Application>
Constructor Summary |
Application(String apiEndpointURL,
String applicationFile,
String applicationIcon,
String apiReleaseStatus,
String applicationName,
String applicationReleaseNotes,
String applicationDescription)
These constructor will be executed every time when the save/submit button will be triggered in the Jenkins. |
Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Application
@DataBoundConstructor
public Application(String apiEndpointURL,
String applicationFile,
String applicationIcon,
String apiReleaseStatus,
String applicationName,
String applicationReleaseNotes,
String applicationDescription)
- These constructor will be executed every time when the save/submit button will be triggered in the Jenkins.
- Parameters:
apiEndpointURL
- URL to which the app should communicate.applicationFile
- String representation of the File which should be uploaded.applicationIcon
- String Representation of the Icon which should be used for the uploaded app.apiReleaseStatus
- String Representation of the ReleaseState to the app will be published.
getApiEndpointURL
public String getApiEndpointURL()
- Returns:
- URL to which your app will connect.
setApiEndpointURL
public void setApiEndpointURL(String apiEndpointURL)
- Parameters:
apiEndpointURL
- Communication endpoint to set.
getApplicationFile
public String getApplicationFile()
- Returns:
- File which will be uploaded to relution.
setApplicationFile
public void setApplicationFile(String applicationFile)
- Parameters:
applicationFile
- File that should be uploaded to relution.
getApplicationIcon
public String getApplicationIcon()
- Returns:
- Pictures that will be uploaded to relution and represents your app.
setApplicationIcon
public void setApplicationIcon(String applicationIcon)
- Parameters:
applicationIcon
- Picture that should represent your app in relution.
getApiReleaseStatus
public String getApiReleaseStatus()
- Returns:
- Publsih your app with the current releasestate.
setApiReleaseStatus
public void setApiReleaseStatus(String apiReleaseStatus)
- Parameters:
apiReleaseStatus
- ReleaseState that your app will have after upload to relution.
getApplicationName
public String getApplicationName()
- The Name of these app corresponds to the file which will be uploaded.
If the textfield in the Job-Configuration is not null your app will be represented by these name
- Returns:
- The Name of the app in relution store.
setApplicationName
public void setApplicationName(String applicationName)
- Parameters:
applicationName
- Name of the new uploaded app
getApplicationReleaseNotes
public String getApplicationReleaseNotes()
- Returns:
- Content of the Log-File which will be set in the TextField.
setApplicationReleaseNotes
public void setApplicationReleaseNotes(String applicationReleaseNotes)
- Parameters:
applicationReleaseNotes
- Content that should be set to the app.
getApplicationDescription
public String getApplicationDescription()
- Returns:
- Content of the Descriptopm-File which will be set in the TextField.
setApplicationDescription
public void setApplicationDescription(String applicationDescription)
- Parameters:
applicationDescription
- Content that should be set to the app.
Copyright © 2004-2013. All Rights Reserved.