Package | Description |
---|---|
starkcoder.failfast.checks | |
starkcoder.failfast.contractors | |
starkcoder.failfast.contractors.contracts | |
starkcoder.failfast.fails |
Modifier and Type | Method and Description |
---|---|
protected ICallContract |
AChecker.contructCallContract(Object caller,
IChecker assertingChecker,
Class<? extends ICheck> checkSpecification,
Object[] checkArguments,
Object[] checkExtraArguments) |
Modifier and Type | Method and Description |
---|---|
ICallContract |
ICallContractor.popContractWithCaller(Object caller,
IFailer throwingFailer,
Class<? extends IFail> failSpecification)
Ends a contract between caller and call contractor.
|
ICallContract |
ACallContractor.popContractWithCaller(Object caller,
IFailer throwingFailer,
Class<? extends IFail> failSpecification) |
Modifier and Type | Method and Description |
---|---|
protected HashMap<Long,ICallContract> |
ACallContractor.getThreadId2CallContract() |
Modifier and Type | Method and Description |
---|---|
void |
ICallContractor.pushContractWithCaller(ICallContract callContract)
Starts a {link:ICallContract} between caller and call contractor.
|
void |
ACallContractor.pushContractWithCaller(ICallContract callContract) |
Modifier and Type | Method and Description |
---|---|
protected void |
ACallContractor.setThreadId2CallContract(HashMap<Long,ICallContract> threadId2CallContract) |
Modifier and Type | Class and Description |
---|---|
class |
ACallContract
Default implementation of {link:ICallContract}.
|
class |
CallContract
Concrete implementation of {link:ICallContract}.
|
Modifier and Type | Method and Description |
---|---|
protected ICallContract |
AFailer.popContractWithCaller(Object caller,
Class<? extends IFail> failSpecification) |
Modifier and Type | Method and Description |
---|---|
protected FailFastException |
AFailer.constructFailException(Class<? extends IFail> failerSpecificationType,
NFail failAnnotation,
ICallContract callContract,
Object[] failerUserArguments,
Object[] failerExtraArguments) |
The MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.