Class OrganizationSelectField
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.common.issueconfigfields.servicedesk.OrganizationSelectField
- All Implemented Interfaces:
IssueConfigField
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.codebarrel.automation.rulecomponent.jira.common.IssueConfigField
IssueConfigField.AddRemoveValue, IssueConfigField.Operation, IssueConfigField.SimpleValue -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrganizationSelectField(I18nFactory i18nFactory, IssueInputSubstitutionRenderer renderer, ServiceDeskComponentService serviceDeskComponentService, AutomationLicenseService automationLicenseService, AddonProperties addonProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOperationToBuilder(IssueRequestBuilder builder, FieldOperationContext fieldOperationContext, FieldOperation fieldOperation) Add the current field to the IssueRequest.Builder.booleanvoidvalidate(ComponentContext context, FieldOperation operation, RemoteConnectUser remoteUser, ErrorCollection errors) Validate the config/valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.codebarrel.automation.rulecomponent.jira.common.IssueConfigField
getCondition
-
Field Details
-
USE_REPORTER_EMAIL
- See Also:
-
USE_REPORTER_EMAIL_NO_CREATE
- See Also:
-
-
Constructor Details
-
OrganizationSelectField
@Inject public OrganizationSelectField(I18nFactory i18nFactory, IssueInputSubstitutionRenderer renderer, ServiceDeskComponentService serviceDeskComponentService, AutomationLicenseService automationLicenseService, AddonProperties addonProperties)
-
-
Method Details
-
validate
public void validate(ComponentContext context, FieldOperation operation, RemoteConnectUser remoteUser, ErrorCollection errors) Description copied from interface:IssueConfigFieldValidate the config/value- Specified by:
validatein interfaceIssueConfigField- Parameters:
context- the component contextoperation- the operation that is being performedremoteUser- the remote user who is configuring the ruleerrors- the error builder to add teh validation error to.
-
isMultiValueField
public boolean isMultiValueField()- Specified by:
isMultiValueFieldin interfaceIssueConfigField
-
addOperationToBuilder
public void addOperationToBuilder(IssueRequestBuilder builder, FieldOperationContext fieldOperationContext, FieldOperation fieldOperation) Description copied from interface:IssueConfigFieldAdd the current field to the IssueRequest.Builder.- Specified by:
addOperationToBuilderin interfaceIssueConfigField
-