public abstract class ValidationService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ClientKeyValidator |
clientKeyValidator |
protected ContractManager |
contractManager |
protected AssetProofComposer |
proofComposer |
Modifier | Constructor and Description |
---|---|
protected |
ValidationService(ClientKeyValidator clientKeyValidator,
ContractManager contractManager,
TransactionManager transactionManager,
AssetProofComposer proofComposer) |
Modifier and Type | Method and Description |
---|---|
abstract com.scalar.dl.ledger.model.LedgerValidationResult |
validate(LedgerValidationRequest request) |
protected com.scalar.dl.ledger.service.StatusCode |
validateEach(java.util.List<LedgerValidator> validators,
com.scalar.dl.ledger.statemachine.InternalAsset asset) |
protected java.util.List<LedgerValidator> |
validateInit() |
protected final ClientKeyValidator clientKeyValidator
protected final ContractManager contractManager
protected final AssetProofComposer proofComposer
protected ValidationService(ClientKeyValidator clientKeyValidator, ContractManager contractManager, TransactionManager transactionManager, AssetProofComposer proofComposer)
public abstract com.scalar.dl.ledger.model.LedgerValidationResult validate(LedgerValidationRequest request)
protected java.util.List<LedgerValidator> validateInit()
protected com.scalar.dl.ledger.service.StatusCode validateEach(java.util.List<LedgerValidator> validators, com.scalar.dl.ledger.statemachine.InternalAsset asset)