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 protectedStashMirrorServerEntity(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 StashMirrorServerEntityfromMirrorAndUrl(com.atlassian.stash.rest.client.api.entity.MirrorServer mirrorServer, String sshUrl)StringgetId()StringgetName()StringgetSelfUrl()StringgetSshUrl()booleanisEnabled()
-
-
-
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:
getNamein interfaceNameProvider
-
isEnabled
public boolean isEnabled()
-
getSelfUrl
public String getSelfUrl()
-
getSshUrl
public String getSshUrl()
-
-