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

How to use
getDescription
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.getDescription (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.inputVersionInputgetDescription

Popular methods of VersionInput

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

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top plugins for WebStorm
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