Class StashMirrorServerEntity
- java.lang.Object
-
- com.atlassian.bamboo.plugins.stash.rest.entity.StashMirrorServerEntity
-
- All Implemented Interfaces:
NameProvider
public class StashMirrorServerEntity extends Object implements NameProvider
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StashMirrorServerEntity(String id, String name, boolean enabled, String selfUrl, String sshUrl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StashMirrorServerEntity
fromMirrorAndUrl(com.atlassian.stash.rest.client.api.entity.MirrorServer mirrorServer, String sshUrl)
String
getId()
String
getName()
String
getSelfUrl()
String
getSshUrl()
boolean
isEnabled()
-
-
-
Method Detail
-
fromMirrorAndUrl
public static StashMirrorServerEntity fromMirrorAndUrl(com.atlassian.stash.rest.client.api.entity.MirrorServer mirrorServer, String sshUrl)
-
getId
public String getId()
-
getName
public String getName()
- Specified by:
getName
in interfaceNameProvider
-
isEnabled
public boolean isEnabled()
-
getSelfUrl
public String getSelfUrl()
-
getSshUrl
public String getSshUrl()
-
-