public class EntityValidator extends Object implements IServiceValidator, IApplicationValidator
| Constructor and Description |
|---|
EntityValidator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IStorageQuery |
getStorageQuery() |
boolean |
isReady(io.apiman.manager.api.beans.apps.ApplicationVersionBean application)
Is the given application Ready to be registered with the Gateway? This method
will return true if all of the criteria for registration is met.
|
boolean |
isReady(io.apiman.manager.api.beans.apps.ApplicationVersionBean application,
boolean hasContracts)
Is the given application Ready to be registered with the Gateway? This method
will return true if all of the criteria for registration is met.
|
boolean |
isReady(io.apiman.manager.api.beans.services.ServiceVersionBean service)
Is the given service Ready to be published to the Gateway? This method
will return true if all of the criteria for publishing is met.
|
void |
setStorageQuery(IStorageQuery storageQuery) |
public boolean isReady(io.apiman.manager.api.beans.apps.ApplicationVersionBean application)
throws Exception
IApplicationValidatorIs the given application Ready to be registered with the Gateway? This method will return true if all of the criteria for registration is met. The criteria includes (but is not necessarily limited to):
isReady in interface IApplicationValidatorExceptionIApplicationValidator.isReady(io.apiman.manager.api.beans.apps.ApplicationVersionBean)public boolean isReady(io.apiman.manager.api.beans.apps.ApplicationVersionBean application,
boolean hasContracts)
throws Exception
IApplicationValidatorIs the given application Ready to be registered with the Gateway? This method will return true if all of the criteria for registration is met. The criteria includes (but is not necessarily limited to):
This version of isRead() skips the check for contracts and instead uses the value passed in. This is important if, for example, a contract is being created.
isReady in interface IApplicationValidatorExceptionIApplicationValidator.isReady(io.apiman.manager.api.beans.apps.ApplicationVersionBean, boolean)public boolean isReady(io.apiman.manager.api.beans.services.ServiceVersionBean service)
IServiceValidatorIs the given service Ready to be published to the Gateway? This method will return true if all of the criteria for publishing is met. The criteria includes (but is not necessarily limited to):
isReady in interface IServiceValidatorIServiceValidator.isReady(io.apiman.manager.api.beans.services.ServiceVersionBean)public IStorageQuery getStorageQuery()
public void setStorageQuery(IStorageQuery storageQuery)
storageQuery - the storageQuery to setCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.