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

How to use
isArchived
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.isArchived (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.inputVersionInputisArchived

Popular methods of VersionInput

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

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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