Package com.google.common.css
Class JobDescriptionBuilder
java.lang.Object
com.google.common.css.JobDescriptionBuilder
Aids in the creation of inputs for the compiler. A builder can be used for
creating a single
JobDescription.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInput(SourceCode sourceCode) addTrueConditionName(String conditionName) copyFrom(JobDescription jobToCopy) setAllowDefPropagation(boolean allow) setAllowedNonStandardFunctions(List<String> functionNames) setAllowedUnrecognizedProperties(List<String> propertyNames) setAllowKeyframes(boolean allow) setAllowMozDocument(boolean allow) setAllowUndefinedConstants(boolean allow) setAllowUnrecognizedFunctions(boolean allow) setAllowUnrecognizedProperties(boolean allow) setAllowWebkitKeyframes(boolean allow) setCompileConstants(Map<String, Integer> newCompileConstants) setCopyrightNotice(String copyrightNotice) setCreateSourceMap(boolean createSourceMap) setCssRenamingPrefix(String cssRenamingPrefix) setCssSubstitutionMapProvider(SubstitutionMapProvider cssSubstitutionMapProvider) setEliminateDeadStyles(boolean eliminate) setExcludedClassesFromRenaming(List<String> excludedClassesFromRenaming) setGssFunctionMapProvider(GssFunctionMapProvider gssFunctionMapProvider) setInputOrientation(JobDescription.InputOrientation newInputOrientation) setInputRenamingMap(Map<String, String> inputRenamingMap) setInputs(List<SourceCode> newInputs) setOutputFormat(JobDescription.OutputFormat newOutputFormat) setOutputOrientation(JobDescription.OutputOrientation newOutputOrientation) setOutputRenamingMapFormat(OutputRenamingMapFormat outputFormat) setPreserveComments(boolean preserve) setPreserveImportantComments(boolean preserve) setProcessDependencies(boolean process) setSimplifyCss(boolean simplify) setSourceMapLevel(JobDescription.SourceMapDetailLevel sourceMapLevel) setSuppressDependencyCheck(boolean suppress) setSwapLeftRightInUrl(boolean swap) setSwapLtrRtlInUrl(boolean swap) setTrueConditionNames(List<String> newTrueConditionNames) setUseInternalBidiFlipper(boolean use)
-
Constructor Details
-
JobDescriptionBuilder
public JobDescriptionBuilder()
-
-
Method Details
-
copyFrom
-
clearInputs
-
setInputs
-
addInput
-
setOptimizeStrategy
-
clearTrueConditionNames
-
setTrueConditionNames
-
addTrueConditionName
-
setExcludedClassesFromRenaming
public JobDescriptionBuilder setExcludedClassesFromRenaming(List<String> excludedClassesFromRenaming) -
setCssRenamingPrefix
-
setCopyrightNotice
-
setUseInternalBidiFlipper
-
useInternalBidiFlipper
-
setSwapLtrRtlInUrl
-
swapLtrRtlInUrl
-
setSwapLeftRightInUrl
-
swapLeftRightInUrl
-
setInputOrientation
public JobDescriptionBuilder setInputOrientation(JobDescription.InputOrientation newInputOrientation) -
setOutputOrientation
public JobDescriptionBuilder setOutputOrientation(JobDescription.OutputOrientation newOutputOrientation) -
setOutputFormat
-
setSimplifyCss
-
simplifyCss
-
setEliminateDeadStyles
-
eliminateDeadStyles
-
setGssFunctionMapProvider
public JobDescriptionBuilder setGssFunctionMapProvider(GssFunctionMapProvider gssFunctionMapProvider) -
setCssSubstitutionMapProvider
public JobDescriptionBuilder setCssSubstitutionMapProvider(SubstitutionMapProvider cssSubstitutionMapProvider) -
setAllowUnrecognizedFunctions
-
allowUnrecognizedFunctions
-
setAllowedNonStandardFunctions
-
setAllowUnrecognizedProperties
-
allowUnrecognizedProperties
-
setAllowedUnrecognizedProperties
-
setVendor
-
setAllowKeyframes
-
allowKeyframes
-
setAllowWebkitKeyframes
-
allowWebkitKeyframes
-
setProcessDependencies
-
setOutputRenamingMapFormat
-
setInputRenamingMap
-
setAllowMozDocument
-
allowMozDocument
-
setAllowDefPropagation
-
allowDefPropagation
-
setAllowUndefinedConstants
-
setSuppressDependencyCheck
-
setPreserveComments
-
preserveComments
-
setCompileConstants
-
setPreserveImportantComments
-
preserveImportantComments
-
getJobDescription
-
setSourceMapLevel
-
setCreateSourceMap
-