public class AemComponentUrlBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
URL |
build()
build.
|
protected String |
getComponentName() |
protected String |
getContentPath() |
protected String |
getExtension() |
protected String |
getHost() |
protected int |
getPort() |
protected String |
getProtocol() |
protected boolean |
isAuthorInstance() |
AemComponentUrlBuilder |
setAuthorInstance(boolean isAuthor)
Setter for the field
authorInstance. |
AemComponentUrlBuilder |
setComponentName(String name)
Setter for the field
componentName. |
AemComponentUrlBuilder |
setContentPath(String path)
Setter for the field
contentPath. |
AemComponentUrlBuilder |
setExtension(String renderFormat)
Default 'html'.
|
AemComponentUrlBuilder |
setHost(String hostName)
Default 'localhost'.
|
AemComponentUrlBuilder |
setPort(int aemPort)
Default 4502.
|
AemComponentUrlBuilder |
setProtocol(String networkProtocol)
Default 'http'.
|
public URL build()
build.
public AemComponentUrlBuilder setAuthorInstance(boolean isAuthor)
Setter for the field authorInstance.
isAuthor - whether SUT is an author instancepublic AemComponentUrlBuilder setComponentName(String name)
Setter for the field componentName.
name - of component to addresspublic AemComponentUrlBuilder setContentPath(String path)
Setter for the field contentPath.
path - to pagepublic AemComponentUrlBuilder setExtension(String renderFormat)
renderFormat - defines rendering format for componentpublic AemComponentUrlBuilder setHost(String hostName)
hostName - of AEM instancepublic AemComponentUrlBuilder setPort(int aemPort)
aemPort - of AEM instance, set to -1 to omit portpublic AemComponentUrlBuilder setProtocol(String networkProtocol)
networkProtocol - to use for fetchingprotected String getComponentName()
protected String getContentPath()
protected String getExtension()
protected String getHost()
protected int getPort()
protected String getProtocol()
protected boolean isAuthorInstance()
Copyright © 2017–2022 wcm.io QA. All rights reserved.