org.botlibre.sdk.config
Class InstanceConfig

java.lang.Object
  extended by org.botlibre.sdk.config.Config
      extended by org.botlibre.sdk.config.WebMediumConfig
          extended by org.botlibre.sdk.config.InstanceConfig

public class InstanceConfig
extends WebMediumConfig

DTO for XML bot instance config.


Field Summary
 boolean allowForking
           
 java.lang.String size
           
 java.lang.String template
           
 
Fields inherited from class org.botlibre.sdk.config.WebMediumConfig
accessMode, avatar, categories, connects, creationDate, creator, dailyConnects, description, details, disclaimer, flaggedReason, id, isAdmin, isAdult, isExternal, isFlagged, isHidden, isPaphus, isPrivate, lastConnectedUser, license, monthlyConnects, name, showAds, tags, website, weeklyConnects
 
Fields inherited from class org.botlibre.sdk.config.Config
application, domain, instance, token, type, user
 
Constructor Summary
InstanceConfig()
           
 
Method Summary
 InstanceConfig credentials()
           
 java.lang.String getType()
           
 void parseXML(org.w3c.dom.Element element)
           
 java.lang.String stats()
           
 java.lang.String toXML()
           
 
Methods inherited from class org.botlibre.sdk.config.WebMediumConfig
equals, getToken, writeXML
 
Methods inherited from class org.botlibre.sdk.config.Config
addCredentials, writeCredentials
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public java.lang.String size

allowForking

public boolean allowForking

template

public java.lang.String template
Constructor Detail

InstanceConfig

public InstanceConfig()
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in class WebMediumConfig

stats

public java.lang.String stats()
Overrides:
stats in class WebMediumConfig

credentials

public InstanceConfig credentials()
Specified by:
credentials in class WebMediumConfig

toXML

public java.lang.String toXML()
Specified by:
toXML in class WebMediumConfig

parseXML

public void parseXML(org.w3c.dom.Element element)
Overrides:
parseXML in class WebMediumConfig