public class ABCBytesRequestResult extends Object implements IABCBytesRequestResult
ZEROBYTES, ZEROPROBLEMS
Constructor and Description |
---|
ABCBytesRequestResult()
This constructor is used when code generation completes normally with no problems and no bytes
|
ABCBytesRequestResult(byte[] bytes)
This constructor is used when code generation completes normally with no problems
|
ABCBytesRequestResult(byte[] bytes,
ICompilerProblem[] problems,
Set<EmbedData> embeds)
This constructor is used when code generation completes normally.
|
ABCBytesRequestResult(ICompilerProblem[] problems)
This constructor is used when code generation has no byte code
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getABCBytes() |
Collection<EmbedData> |
getEmbeds() |
ICompilerProblem[] |
getProblems()
Returns a list of problems generated by the ABCGenerator while attempting
to generate abc data.
|
String |
toString() |
public ABCBytesRequestResult(byte[] bytes, ICompilerProblem[] problems, Set<EmbedData> embeds)
bytes
- abc bytes generated by code generatorproblems
- Collection of problems found by the code generator.embeds
- embedded assetspublic ABCBytesRequestResult(byte[] bytes)
bytes
- abc bytes generated by code generatorpublic ABCBytesRequestResult(ICompilerProblem[] problems)
problems
- Collection of problems found by the code generator.public ABCBytesRequestResult()
public byte[] getABCBytes()
getABCBytes
in interface IABCBytesRequestResult
public ICompilerProblem[] getProblems()
getProblems
in interface IRequestResult
public Collection<EmbedData> getEmbeds()
getEmbeds
in interface IABCBytesRequestResult
Copyright © 2016 The Apache Software Foundation. All rights reserved.