Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ESProjects
EATA
Commits
a85cfcdf
Commit
a85cfcdf
authored
Feb 04, 2022
by
Pietro Braghieri
Browse files
Update OSLC_README.md
parent
74744d95
Changes
1
Hide whitespace changes
Inline
Side-by-side
OSLC_README.md
View file @
a85cfcdf
...
...
@@ -58,22 +58,23 @@ For example, we need to add the parameter `wholeArchitecture` of type `boolean`
We have to work on both the client side and the server side following these steps:
##### Client Side
Suppose that the
`wholeArchitecture`
attribute is already present in the class
`eu.fbk.tools.adapter.ocra.Check
ContractRefinement
.java`
.
Suppose that the
`wholeArchitecture`
attribute is already present in the class
`eu.fbk.tools.adapter.ocra.Check
ValidationProperty
.java`
.
*
Add
`String PARAM_WHOLE_ARCHITECTURE = "wholeArchitecture"`
to the class
`eu.fbk.tools.adapter.ToolParameterConstants.java`
*
Insert the following fragment in the
`getParameters()`
method
*
Insert the following fragment in the
`getParameters()`
method
of the class
`CheckValidationProperty`
```
if( wholeArchitecture != null)
{
parameters.add(new ToolFunctionParameter(ToolParameterConstants.PARAM_WHOLE_ARCHITECTURE, wholeArchitecture.toString()));
}
```
*
Insert the following fragment in the
`setParameters(ToolFunctionParameter parameter)`
method
*
Insert the following fragment in the
`setParameters(ToolFunctionParameter parameter)`
method
of the class
`CheckValidationProperty`
```
case ToolParameterConstants.PARAM_WHOLE_ARCHITECTURE:
wholeArchitecture = Boolean.valueOf(parameter.value);
break;
```
##### Server Side
#### Add a new Automation Plan
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment