com.zeroturnaround.liverebel.api.impl
Class LocalInfoImpl

java.lang.Object
  extended by com.zeroturnaround.liverebel.api.impl.LocalInfoImpl
All Implemented Interfaces:
LocalInfo

public class LocalInfoImpl
extends Object
implements LocalInfo

Info about local application (application deployed to server)

Author:
Ats Uiboupin

Constructor Summary
LocalInfoImpl(org.json.simple.JSONObject obj)
           
 
Method Summary
 String getLocalPath()
           
 String getServerId()
           
 Set<String> getUrls()
           
 String getVersionId()
           
 Set<String> getVirtualHostNames()
           
 boolean isDirty()
           
 boolean isEditMode()
           
static LocalInfo parseActiveVersionPerServer(org.json.simple.JSONObject obj)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalInfoImpl

public LocalInfoImpl(org.json.simple.JSONObject obj)
Method Detail

parseActiveVersionPerServer

public static LocalInfo parseActiveVersionPerServer(org.json.simple.JSONObject obj)

getServerId

public String getServerId()
Specified by:
getServerId in interface LocalInfo

getVersionId

public String getVersionId()
Specified by:
getVersionId in interface LocalInfo
Returns:
active version id

getVirtualHostNames

public Set<String> getVirtualHostNames()
Specified by:
getVirtualHostNames in interface LocalInfo

isEditMode

public boolean isEditMode()
Specified by:
isEditMode in interface LocalInfo

isDirty

public boolean isDirty()
Specified by:
isDirty in interface LocalInfo

getLocalPath

public String getLocalPath()
Specified by:
getLocalPath in interface LocalInfo

getUrls

public Set<String> getUrls()
Specified by:
getUrls in interface LocalInfo

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.