Tabnine Logo
VersionInput.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
com.atlassian.jira.rest.client.api.domain.input.VersionInput

Best Java code snippets using com.atlassian.jira.rest.client.api.domain.input.VersionInput.getName (Showing top 2 results out of 315)

origin: com.atlassian.jira/jira-rest-java-client-core

  @Override
  public JSONObject generate(VersionInput version) throws JSONException {
    final JSONObject jsonObject = new JSONObject();
    jsonObject.put("name", version.getName());
    jsonObject.put("project", version.getProjectKey());
    if (version.getDescription() != null) {
      jsonObject.put("description", version.getDescription());
    }
    if (version.getReleaseDate() != null) {
      jsonObject.put("releaseDate", JsonParseUtil.formatDate(version.getReleaseDate()));
    }
    jsonObject.put("released", version.isReleased());
    jsonObject.put("archived", version.isArchived());
    return jsonObject;
  }
}
origin: org.openengsb.wrapped/jira-rest-java-client-core

  @Override
  public JSONObject generate(VersionInput version) throws JSONException {
    final JSONObject jsonObject = new JSONObject();
    jsonObject.put("name", version.getName());
    jsonObject.put("project", version.getProjectKey());
    if (version.getDescription() != null) {
      jsonObject.put("description", version.getDescription());
    }
    if (version.getReleaseDate() != null) {
      jsonObject.put("releaseDate", JsonParseUtil.formatDate(version.getReleaseDate()));
    }
    jsonObject.put("released", version.isReleased());
    jsonObject.put("archived", version.isArchived());
    return jsonObject;
  }
}
com.atlassian.jira.rest.client.api.domain.inputVersionInputgetName

Popular methods of VersionInput

  • <init>
  • getDescription
  • getProjectKey
  • getReleaseDate
  • isArchived
  • isReleased

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • getSystemService (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now