org.duelengine.duel.staticapps
Class SiteConfig

java.lang.Object
  extended by org.duelengine.duel.staticapps.SiteConfig

public class SiteConfig
extends Object


Constructor Summary
SiteConfig()
           
 
Method Summary
 String cdnHost()
           
 SiteConfig cdnHost(String value)
           
 String cdnLinksMap()
           
 SiteConfig cdnLinksMap(String value)
           
 String cdnMap()
           
 SiteConfig cdnMap(String value)
           
 String contentType()
           
 SiteConfig contentType(String value)
           
 String encoding()
           
 SiteConfig encoding(String value)
           
 String[] files()
          Gets the static files to copy
 SiteConfig files(String[] value)
          Sets the static files to copy
 boolean isDevMode()
           
 SiteConfig isDevMode(boolean value)
           
 String serverPrefix()
           
 SiteConfig serverPrefix(String value)
           
 String sourceDir()
          Gets the web app directory
 SiteConfig sourceDir(String value)
          Sets the web app directory
 File sourceDirFile()
           
 String targetDir()
          Gets the target directory
 SiteConfig targetDir(String value)
          Sets the target directory
 File targetDirFile()
           
 Map<String,SiteViewPage> views()
          Gets the views to generate
 SiteConfig views(Map<String,SiteViewPage> value)
          Sets the views to generate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteConfig

public SiteConfig()
Method Detail

contentType

public String contentType()

contentType

public SiteConfig contentType(String value)

encoding

public String encoding()

encoding

public SiteConfig encoding(String value)

targetDir

public String targetDir()
Gets the target directory


targetDir

public SiteConfig targetDir(String value)
Sets the target directory


sourceDir

public String sourceDir()
Gets the web app directory


sourceDir

public SiteConfig sourceDir(String value)
Sets the web app directory


serverPrefix

public String serverPrefix()
Returns:
the server-side package name

serverPrefix

public SiteConfig serverPrefix(String value)

cdnHost

public String cdnHost()
Returns:
the CDN host name

cdnHost

public SiteConfig cdnHost(String value)

cdnMap

public String cdnMap()
Returns:
the name of the CDN map

cdnMap

public SiteConfig cdnMap(String value)

cdnLinksMap

public String cdnLinksMap()
Returns:
the name of the CDN links map

cdnLinksMap

public SiteConfig cdnLinksMap(String value)

isDevMode

public boolean isDevMode()
Returns:
if should operate in dev mode

isDevMode

public SiteConfig isDevMode(boolean value)

views

public Map<String,SiteViewPage> views()
Gets the views to generate


views

public SiteConfig views(Map<String,SiteViewPage> value)
Sets the views to generate


files

public String[] files()
Gets the static files to copy


files

public SiteConfig files(String[] value)
Sets the static files to copy


sourceDirFile

public File sourceDirFile()
Returns:
the web app directory

targetDirFile

public File targetDirFile()
Returns:
the target output directory


Copyright © 2012. All Rights Reserved.