Package com.google.common.css
Class JobDescription
java.lang.Object
com.google.common.css.JobDescription
Provides inputs and options to Closure Stylesheets.
To construct an instance, use a
JobDescriptionBuilder.
Instances of this class are immutable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe input orientation.static enumThe optimization strategy.static enumThe output format.static enumThe output orientation.static enumThe source map generation levels. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanfinal com.google.common.collect.ImmutableSet<String>final booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal Stringfinal booleanfinal Stringfinal SubstitutionMapProviderfinal booleanfinal GssFunctionMapProviderfinal List<SourceCode>final OutputRenamingMapFormatfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal Vendor -
Method Summary
Modifier and TypeMethodDescriptionintbooleanWhether the job requires that the output orientation be different from the input orientation.Returns a newJobDescriptionBuilderbased on this job.
-
Field Details
-
inputs
-
copyrightNotice
-
outputFormat
-
inputOrientation
-
outputOrientation
-
optimize
-
trueConditionNames
-
useInternalBidiFlipper
public final boolean useInternalBidiFlipper -
swapLtrRtlInUrl
public final boolean swapLtrRtlInUrl -
swapLeftRightInUrl
public final boolean swapLeftRightInUrl -
simplifyCss
public final boolean simplifyCss -
eliminateDeadStyles
public final boolean eliminateDeadStyles -
allowDefPropagation
public final boolean allowDefPropagation -
allowUnrecognizedFunctions
public final boolean allowUnrecognizedFunctions -
allowedNonStandardFunctions
-
allowUnrecognizedProperties
public final boolean allowUnrecognizedProperties -
allowedUnrecognizedProperties
-
allowUndefinedConstants
public final boolean allowUndefinedConstants -
allowMozDocument
public final boolean allowMozDocument -
vendor
-
allowKeyframes
public final boolean allowKeyframes -
allowWebkitKeyframes
public final boolean allowWebkitKeyframes -
processDependencies
public final boolean processDependencies -
allowedAtRules
-
cssRenamingPrefix
-
excludedClassesFromRenaming
-
gssFunctionMapProvider
-
cssSubstitutionMapProvider
-
outputRenamingMapFormat
-
inputRenamingMap
-
preserveComments
public final boolean preserveComments -
suppressDependencyCheck
public final boolean suppressDependencyCheck -
compileConstants
-
createSourceMap
public final boolean createSourceMap -
sourceMapLevel
-
preserveImportantComments
public final boolean preserveImportantComments
-
-
Method Details
-
getAllInputsLength
public int getAllInputsLength()- Returns:
- the total length of all the inputs' contents
-
needsBiDiFlipping
public boolean needsBiDiFlipping()Whether the job requires that the output orientation be different from the input orientation. -
toBuilder
Returns a newJobDescriptionBuilderbased on this job.
-