org.hippoecm.hst.configuration.hosting
Interface MutableVirtualHost

All Superinterfaces:
VirtualHost
All Known Implementing Classes:
VirtualHostService

public interface MutableVirtualHost
extends VirtualHost


Method Summary
 void addPortMount(MutablePortMount portMount)
          Add the portMount to this MutableVirtualHost
 void addVirtualHost(MutableVirtualHost virtualHost)
          Adds the virtualHost as child to this MutableVirtualHost
 String getCmsLocation()
           
 
Methods inherited from interface org.hippoecm.hst.configuration.hosting.VirtualHost
getBaseURL, getChildHost, getChildHosts, getHomePage, getHostGroupName, getHostName, getLocale, getName, getPageNotFound, getPortMount, getScheme, getVirtualHosts, isContextPathInUrl, isPortInUrl, isVersionInPreviewHeader, onlyForContextPath
 

Method Detail

addVirtualHost

void addVirtualHost(MutableVirtualHost virtualHost)
                    throws IllegalArgumentException
Adds the virtualHost as child to this MutableVirtualHost

Parameters:
virtualHost - the MutableVirtualHost to add
Throws:
IllegalArgumentException - if the virtualHost could not be added

addPortMount

void addPortMount(MutablePortMount portMount)
                  throws IllegalArgumentException
Add the portMount to this MutableVirtualHost

Parameters:
portMount - the MutablePortMount to add
Throws:
IllegalArgumentException - if the portMount could not be added

getCmsLocation

String getCmsLocation()
Returns:
the cms location (fully qualified URL) or null if not configured


Copyright © 2008-2012 Hippo. All Rights Reserved.