com.atlassian.jira.plugin.studio
Class RemoteProjects

java.lang.Object
  extended by com.atlassian.jira.plugin.studio.RemoteProjects

@Immutable
public class RemoteProjects
extends Object

Projects linked to a JIRA project when a new studio project is created.

Since:
5.2

Field Summary
static RemoteProjects NO_REMOTE_PROJECTS
           
 
Constructor Summary
RemoteProjects(String bambooLink, String confluenceLink, String fishEyeLink, String crucibleLink)
           
 
Method Summary
static RemoteProjects deserialize(String content)
           
 String getBambooLink()
           
 String getConfluenceLink()
           
 String getCrucibleLink()
           
 String getFishEyeLink()
           
 boolean hasBamboo()
           
 boolean hasConfluence()
           
 boolean hasCrucible()
           
 boolean hasFishEye()
           
 String serialize()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_REMOTE_PROJECTS

public static final RemoteProjects NO_REMOTE_PROJECTS
Constructor Detail

RemoteProjects

public RemoteProjects(@Nullable
                      String bambooLink,
                      @Nullable
                      String confluenceLink,
                      @Nullable
                      String fishEyeLink,
                      @Nullable
                      String crucibleLink)
Method Detail

deserialize

@Nonnull
public static RemoteProjects deserialize(@Nonnull
                                                 String content)
                                  throws JSONException
Throws:
JSONException

serialize

@Nonnull
public String serialize()
                 throws JSONException
Throws:
JSONException

hasBamboo

public boolean hasBamboo()

getBambooLink

public String getBambooLink()

hasConfluence

public boolean hasConfluence()

getConfluenceLink

public String getConfluenceLink()

hasFishEye

public boolean hasFishEye()

getFishEyeLink

public String getFishEyeLink()

hasCrucible

public boolean hasCrucible()

getCrucibleLink

public String getCrucibleLink()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2013 Atlassian. All Rights Reserved.