public class ValidationFunctionFactoryImpl extends Object implements ValidationFunctionFactory
Constructor and Description |
---|
ValidationFunctionFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
ValidationFunction |
chainExists()
Validation function that verifies if an
ImmutableChain with the given key exists. |
ValidationFunction |
isJobKeyFromChain(ImmutableChain chain)
Validation function that verifies if a job key belongs to a specific
ImmutableChain . |
ValidationFunction |
isUniqueJobKey()
Validation function that verifies that a job key is unique.
|
ValidationFunction |
jobExists()
Validation function that verifies if an
ImmutableJob with the given key exists. |
@NotNull public ValidationFunction jobExists()
ValidationFunctionFactory
ImmutableJob
with the given key exists.jobExists
in interface ValidationFunctionFactory
@NotNull public ValidationFunction chainExists()
ValidationFunctionFactory
ImmutableChain
with the given key exists.chainExists
in interface ValidationFunctionFactory
@NotNull public ValidationFunction isJobKeyFromChain(@NotNull ImmutableChain chain)
ValidationFunctionFactory
ImmutableChain
.isJobKeyFromChain
in interface ValidationFunctionFactory
chain
- a chain@NotNull public ValidationFunction isUniqueJobKey()
ValidationFunctionFactory
isUniqueJobKey
in interface ValidationFunctionFactory
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.