Class PersonRiskDetectorCommand
- java.lang.Object
-
- com.optimaize.command4j.commands.BaseCommand<A,R>
-
- com.optimaize.anythingworks.client.rest.RestBaseCommand<T,A,R>
-
- org.nameapi.client.services.NameApiBaseCommand<org.nameapi.client.services.riskdetector.person.RestPort,org.nameapi.ontology5.input.entities.person.InputPerson,org.nameapi.ontology5.services.riskdetector.RiskDetectorResult>
-
- org.nameapi.client.services.riskdetector.person.PersonRiskDetectorCommand
-
- All Implemented Interfaces:
com.optimaize.command4j.Command<org.nameapi.ontology5.input.entities.person.InputPerson,org.nameapi.ontology5.services.riskdetector.RiskDetectorResult>,com.optimaize.command4j.commands.CombinableCommand<org.nameapi.ontology5.input.entities.person.InputPerson,org.nameapi.ontology5.services.riskdetector.RiskDetectorResult>
public class PersonRiskDetectorCommand extends NameApiBaseCommand<org.nameapi.client.services.riskdetector.person.RestPort,org.nameapi.ontology5.input.entities.person.InputPerson,org.nameapi.ontology5.services.riskdetector.RiskDetectorResult>
-
-
Field Summary
-
Fields inherited from class org.nameapi.client.services.NameApiBaseCommand
CLIENT_VERSION
-
-
Constructor Summary
Constructors Constructor Description PersonRiskDetectorCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.nameapi.ontology5.services.riskdetector.RiskDetectorResultcall(com.google.common.base.Optional<org.nameapi.ontology5.input.entities.person.InputPerson> inputPersonOpt, com.optimaize.command4j.ExecutionContext context)protected Callable<org.nameapi.client.services.riskdetector.person.RestPort>createPort(com.optimaize.command4j.ExecutionContext context)-
Methods inherited from class org.nameapi.client.services.NameApiBaseCommand
getApiKey, getContext, makeClient
-
Methods inherited from class com.optimaize.anythingworks.client.rest.RestBaseCommand
createCacheKey, getHost, getPort, getPortUrlFactory, makeBaseUrl
-
-
-
-
Method Detail
-
call
@Nullable public org.nameapi.ontology5.services.riskdetector.RiskDetectorResult call(@NotNull com.google.common.base.Optional<org.nameapi.ontology5.input.entities.person.InputPerson> inputPersonOpt, @NotNull com.optimaize.command4j.ExecutionContext context) throws Exception- Throws:
Exception
-
createPort
@NotNull protected Callable<org.nameapi.client.services.riskdetector.person.RestPort> createPort(@NotNull com.optimaize.command4j.ExecutionContext context)
- Specified by:
createPortin classcom.optimaize.anythingworks.client.rest.RestBaseCommand<org.nameapi.client.services.riskdetector.person.RestPort,org.nameapi.ontology5.input.entities.person.InputPerson,org.nameapi.ontology5.services.riskdetector.RiskDetectorResult>
-
-