Package com.google.common.css
Class JobDescription
- java.lang.Object
-
- com.google.common.css.JobDescription
-
public class JobDescription extends java.lang.ObjectProvides inputs and options to Closure Stylesheets. To construct an instance, use aJobDescriptionBuilder.Instances of this class are immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobDescription.InputOrientationThe input orientation.static classJobDescription.OptimizeStrategyThe optimization strategy.static classJobDescription.OutputFormatThe output format.static classJobDescription.OutputOrientationThe output orientation.static classJobDescription.SourceMapDetailLevelThe source map generation levels.
-
Field Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAllInputsLength()booleanneedsBiDiFlipping()Whether the job requires that the output orientation be different from the input orientation.JobDescriptionBuildertoBuilder()Returns a newJobDescriptionBuilderbased on this job.
-
-
-
Field Detail
-
inputs
public final java.util.List<SourceCode> inputs
-
copyrightNotice
public final java.lang.String copyrightNotice
-
outputFormat
public final JobDescription.OutputFormat outputFormat
-
inputOrientation
public final JobDescription.InputOrientation inputOrientation
-
outputOrientation
public final JobDescription.OutputOrientation outputOrientation
-
optimize
public final JobDescription.OptimizeStrategy optimize
-
trueConditionNames
public final java.util.List<java.lang.String> 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
public final java.util.Set<java.lang.String> allowedNonStandardFunctions
-
allowUnrecognizedProperties
public final boolean allowUnrecognizedProperties
-
allowedUnrecognizedProperties
public final java.util.Set<java.lang.String> allowedUnrecognizedProperties
-
allowUndefinedConstants
public final boolean allowUndefinedConstants
-
allowMozDocument
public final boolean allowMozDocument
-
vendor
public final Vendor vendor
-
allowKeyframes
public final boolean allowKeyframes
-
allowWebkitKeyframes
public final boolean allowWebkitKeyframes
-
processDependencies
public final boolean processDependencies
-
allowedAtRules
public final com.google.common.collect.ImmutableSet<java.lang.String> allowedAtRules
-
cssRenamingPrefix
public final java.lang.String cssRenamingPrefix
-
excludedClassesFromRenaming
public final java.util.List<java.lang.String> excludedClassesFromRenaming
-
gssFunctionMapProvider
public final GssFunctionMapProvider gssFunctionMapProvider
-
cssSubstitutionMapProvider
public final SubstitutionMapProvider cssSubstitutionMapProvider
-
outputRenamingMapFormat
public final OutputRenamingMapFormat outputRenamingMapFormat
-
inputRenamingMap
public final java.util.Map<java.lang.String,java.lang.String> inputRenamingMap
-
preserveComments
public final boolean preserveComments
-
suppressDependencyCheck
public final boolean suppressDependencyCheck
-
compileConstants
public final java.util.Map<java.lang.String,java.lang.Integer> compileConstants
-
createSourceMap
public final boolean createSourceMap
-
sourceMapLevel
public final JobDescription.SourceMapDetailLevel sourceMapLevel
-
preserveImportantComments
public final boolean preserveImportantComments
-
-
Method Detail
-
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
public JobDescriptionBuilder toBuilder()
Returns a newJobDescriptionBuilderbased on this job.
-
-