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.CompileResponse
getCompileResponse()
String
getCss()
The compiled CSS.ByteString
getCssBytes()
The compiled CSS.List<String>
getLoadedUrls()
The canonical URLs of all source files loaded during the compilation.String
getSourceMap()
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.ByteString
getSourceMapBytes()
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 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 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:
getLoadedUrls
in interfaceCompilationResult
-
getCompileResponse
public com.sass_lang.embedded_protocol.OutboundMessage.CompileResponse getCompileResponse()
-
-