Tabnine Logo
EntityPropertyBean$Builder
Code IndexAdd Tabnine to your IDE (free)

How to use
EntityPropertyBean$Builder
in
com.atlassian.jira.issue.fields.rest.json.beans

Best Java code snippets using com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean$Builder (Showing top 4 results out of 315)

origin: com.atlassian.jira/jira-api

/**
 * @deprecated In 7.0.0 {@link Function2} has been deprecated in favour of {@link BiFunction}. Use {@link #builder(JiraBaseUrls, BiFunction)}
 */
@Deprecated
public static Builder builder(JiraBaseUrls jiraBaseUrls, Function2<Long, String, String> entityIdToSelfFunction)
{
  return new Builder(jiraBaseUrls, entityIdToSelfFunction);
}
origin: com.atlassian.jira/jira-api

public EntityPropertyBean build(Long entityId)
{
  return new EntityPropertyBean(checkNotNull(key), checkNotNull(value), buildSelf(entityId));
}
origin: com.atlassian.jira/jira-rest-plugin

  @Override
  public Response apply(final EntityProperty entityProperty)
  {
    com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean entityPropertyBean = com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean.builder(jiraBaseUrls, entityIdAndPropertyKeyToSelfFunction)
        // escape unicode, because for some characters(i.e. pile of poo) jackson may throw exception
        // during processing of JsonRawValue, which entity property value is in this case
        .value(RestStringUtils.escapeUnicode(entityProperty.getValue()))
        .key(entityProperty.getKey())
        .build(entityProperty.getEntityId());
    return status(Response.Status.OK).entity(entityPropertyBean).cacheControl(never()).build();
  }
}
origin: com.atlassian.jira/jira-api

/**
 * @since 7.0.0
 */
public static Builder builder(JiraBaseUrls jiraBaseUrls, BiFunction<Long, String, String> entityIdToSelfFunction)
{
  return new Builder(jiraBaseUrls, entityIdToSelfFunction);
}
com.atlassian.jira.issue.fields.rest.json.beansEntityPropertyBean$Builder

Most used methods

  • <init>
  • build
  • buildSelf
  • key
  • value

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Option (scala)
  • Top PhpStorm 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