Package net.lightapi.portal
Class PortalClientConfig
- java.lang.Object
-
- net.lightapi.portal.PortalClientConfig
-
public class PortalClientConfig extends Object
This is a centralized configuration for the portal services. The config file can be copied to all hybrid services test resource if it is needed for test cases. This refactor will avoid duplications if we give each hybrid service a config file.- Author:
- Steve Hu
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_NAME
-
Constructor Summary
Constructors Constructor Description PortalClientConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBootstrapToken()StringgetPortalCommandServiceId()StringgetPortalCommandServiceUrl()StringgetPortalQueryServiceId()StringgetPortalQueryServiceUrl()StringgetPortalReferenceServiceId()booleanisPortalByServiceUrl()voidsetBootstrapToken(String bootstrapToken)voidsetPortalByServiceUrl(boolean portalByServiceUrl)voidsetPortalCommandServiceId(String portalCommandServiceId)voidsetPortalCommandServiceUrl(String portalCommandServiceUrl)voidsetPortalQueryServiceId(String portalQueryServiceId)voidsetPortalQueryServiceUrl(String portalQueryServiceUrl)voidsetPortalReferenceServiceId(String portalReferenceServiceId)
-
-
-
Field Detail
-
CONFIG_NAME
public static final String CONFIG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isPortalByServiceUrl
public boolean isPortalByServiceUrl()
-
setPortalByServiceUrl
public void setPortalByServiceUrl(boolean portalByServiceUrl)
-
getPortalQueryServiceUrl
public String getPortalQueryServiceUrl()
-
setPortalQueryServiceUrl
public void setPortalQueryServiceUrl(String portalQueryServiceUrl)
-
getPortalCommandServiceUrl
public String getPortalCommandServiceUrl()
-
setPortalCommandServiceUrl
public void setPortalCommandServiceUrl(String portalCommandServiceUrl)
-
getPortalQueryServiceId
public String getPortalQueryServiceId()
-
setPortalQueryServiceId
public void setPortalQueryServiceId(String portalQueryServiceId)
-
getPortalCommandServiceId
public String getPortalCommandServiceId()
-
setPortalCommandServiceId
public void setPortalCommandServiceId(String portalCommandServiceId)
-
getPortalReferenceServiceId
public String getPortalReferenceServiceId()
-
setPortalReferenceServiceId
public void setPortalReferenceServiceId(String portalReferenceServiceId)
-
getBootstrapToken
public String getBootstrapToken()
-
setBootstrapToken
public void setBootstrapToken(String bootstrapToken)
-
-