Package de.larsgrefer.sass.embedded
Class CompileSuccess
- java.lang.Object
-
- de.larsgrefer.sass.embedded.CompileSuccess
-
- All Implemented Interfaces:
CompilationResult
public class CompileSuccess extends Object implements CompilationResult
- See Also:
OutboundMessage.CompileResponse.CompileSuccess
-
-
Constructor Summary
Constructors Constructor Description CompileSuccess(com.sass_lang.embedded_protocol.OutboundMessage.CompileResponse compileResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sass_lang.embedded_protocol.OutboundMessage.CompileResponsegetCompileResponse()StringgetCss()The compiled CSS.com.google.protobuf.ByteStringgetCssBytes()The compiled CSS.List<String>getLoadedUrls()The canonical URLs of all source files loaded during the compilation.StringgetSourceMap()The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.com.google.protobuf.ByteStringgetSourceMapBytes()The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.
-
-
-
Method Detail
-
getCss
public String getCss()
The compiled CSS.
-
getCssBytes
public com.google.protobuf.ByteString getCssBytes()
The compiled CSS.
-
getSourceMap
public String getSourceMap()
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
-
getSourceMapBytes
public com.google.protobuf.ByteString getSourceMapBytes()
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
-
getLoadedUrls
public List<String> getLoadedUrls()
The canonical URLs of all source files loaded during the compilation.- Specified by:
getLoadedUrlsin interfaceCompilationResult
-
getCompileResponse
public com.sass_lang.embedded_protocol.OutboundMessage.CompileResponse getCompileResponse()
-
-