congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Either$LeftProjection
Code IndexAdd Tabnine to your IDE (free)

How to use
Either$LeftProjection
in
com.atlassian.fugue

Best Java code snippets using com.atlassian.fugue.Either$LeftProjection (Showing top 20 results out of 315)

origin: com.atlassian.plugin.automation/automation-module

if (auditResult.isLeft())
  context.put("errors", auditResult.left().get());
  renderer.render(response.getWriter(), CONFIG_RESOURCE_KEY, "Atlassian.Templates.Automation.configError", context);
  return;
origin: com.atlassian.plugins/atlassian-connect-api

public Optional<OperationStatus> getError() {
  return Optional.ofNullable(result.left().getOrNull());
}
origin: com.atlassian.jira/jira-rest-plugin

public Response createPermissionScheme(final PermissionSchemeBean permissionScheme, @QueryParam ("expand") String expand)
  return withParsedExpandParameter(expand).left().on(new Function<List<PermissionSchemeExpandParam>, Response>()
origin: com.atlassian.jira/jira-rest-plugin

if (eitherErrorOrAppRole.isLeft())
  return build(eitherErrorOrAppRole.left().get());
if (verifiedAppRoleEither.isLeft())
  return build(verifiedAppRoleEither.left().get());
origin: com.atlassian.jira/jira-gadgets-plugin

final Query query = queryOrError.left().get();
  versions = versionResult.left().get();
origin: com.atlassian.jira/jira-rest-plugin

return getProjectRole(roleId).left().on(new com.google.common.base.Function<ProjectRole, Response>()
origin: com.atlassian.jira/jira-rest-plugin

return getProjectForEdit(projectIdOrKey).left().on(new Function<Project, Response>()
origin: com.atlassian.jira/jira-rest-plugin

  @QueryParam ("expand") final String expand)
return responseFactory.toResponse(notificationSchemeBeanFactory.parseExpandQuery(expand)).left().on(new Function<List<NotificationSchemeExpandParam>, Response>()
origin: com.atlassian.plugin.deflection/deflection-suggestions

commentService.create(user, issue, template.getComment(), securityLevel.left().get(), null,
    true, jiraErrorCollection);
origin: com.atlassian.cpji/cpji-jira-plugin

Either<NegativeResponseStatus, SuccessfulResponse> addResult = proxy.addAttachment(copiedIssueKey, attachment);
if (addResult.isLeft()) {
  NegativeResponseStatus responseStatus = addResult.left().get();
  ErrorCollection ec = responseStatus.getErrorCollection();
  if (ec != null) {
origin: com.atlassian.jira/jira-rest-plugin

return getProjectForEdit(projectIdOrKey).left().on(new Function<Project, Response>()
origin: com.atlassian.jira/jira-rest-plugin

return getProjectRole(roleId).left().on(new com.google.common.base.Function<ProjectRole, Response>()
origin: com.atlassian.jira/jira-rest-plugin

public Response getPermissionSchemeGrant(@PathParam ("schemeId") final Long schemeId, @PathParam ("permissionId") final Long permissionId, @QueryParam ("expand") String expand)
  return withParsedExpandParameter(expand).left().on(new Function<List<PermissionSchemeExpandParam>, Response>()
origin: com.atlassian.jira/jira-gadgets-plugin

final Query jqlQuery = queryOrError.left().get();
Either<ErrorCollection, String> statOrError = getStatDisplayName(statType);
if (statOrError.isLeft())
  return Either.right(statOrError.left().get());
origin: com.atlassian.jira/jira-gadgets-plugin

return Response.ok(resultOrError.left().get()).build();
origin: com.atlassian.jira/jira-rest-plugin

public Response getAssignedPermissionScheme(@PathParam ("projectKeyOrId") final String projectKeyOrId, @QueryParam("expand") String expand)
  return responseFactory.toResponse(expander.parseExpandQuery(expand)).left().on(new Function<List<PermissionSchemeExpandParam>, Response>()
origin: com.atlassian.cpji/cpji-jira-plugin

Either<NegativeResponseStatus, SuccessfulResponse> copierResult = copier.copyLocalAndRemoteLinks(issueToCopy, copiedIssue.getIssueKey(), copiedIssue.getIssueId());
if (copierResult.isLeft()) {
  ErrorCollection ec = copierResult.left().get().getErrorCollection();
  if (ec != null && ec.hasAnyErrors()) {
    addErrorCollection(ec);
origin: com.atlassian.jira/jira-rest-plugin

public Response getAllStatuses(@PathParam ("projectIdOrKey") final String projectIdOrKey)
  return getProjectForView(projectIdOrKey).left().on(new Function<Project, Response>()
origin: com.atlassian.jira/jira-rest-plugin

return responseFactory.validateOutcome(issueSecurityLevelScheme).left().on(new Function<IssueSecurityLevelScheme, Response>()
origin: com.atlassian.jira/jira-rest-plugin

return responseFactory.validateOutcome(issueSecurityLevelScheme).left().on(new Function<IssueSecurityLevelScheme, Response>()
com.atlassian.fugueEither$LeftProjection

Most used methods

  • get
  • getOrNull
  • map
  • on

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JComboBox (javax.swing)
  • JList (javax.swing)
  • Top 15 Vim 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