Package zendesk.support.guide
Class ArticleConfiguration
- java.lang.Object
-
- zendesk.support.guide.ArticleConfiguration
-
public class ArticleConfiguration extends java.lang.Object
Data class, that represents the initial configuration ofViewArticleActivity
. Use theArticleConfiguration.Builder
to create an instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
ArticleConfiguration.Builder
This builder is used to generate an instance ofArticleConfiguration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<Configuration>
getConfigurations()
java.util.List<Engine>
getEngines()
Returns the list ofEngine
s that was set onArticleConfiguration.Builder.withEngines(Engine...)
.boolean
isContactUsButtonVisible()
-
-
-
Method Detail
-
isContactUsButtonVisible
public boolean isContactUsButtonVisible()
-
getConfigurations
public java.util.List<Configuration> getConfigurations()
-
getEngines
public java.util.List<Engine> getEngines()
Returns the list ofEngine
s that was set onArticleConfiguration.Builder.withEngines(Engine...)
. This method should not be called more than once, as retrieving the Engine list removes it from the internal storage. As such, every subsequent call to this method will return null. Note also that theArticleConfiguration.Builder
starts with an empty list rather than null.- Returns:
- a List of
Engine
, or null.
-
-