Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-studio
Commits
be963a43
Commit
be963a43
authored
Jan 25, 2016
by
Romain Bioteau
Browse files
Migrate docuemnt converter version
parent
257a2e0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio-models/process.history
View file @
be963a43
...
...
@@ -9928,5 +9928,8 @@
<changes xsi:type="history:MigrationChange" migration="org.bonitasoft.studio.migration.custom.migration.connector.UpdateGroovyConnectorVersionTo102"/>
<changes xsi:type="history:MigrationChange" migration="org.bonitasoft.studio.migration.custom.migration.connector.UpdateTransactionalGroovyConnectorVersionTo101"/>
</releases>
<releases date="2016-01-25T10:43:27.494+0100" label="7.2.0-002">
<changes xsi:type="history:MigrationChange" migration="org.bonitasoft.studio.migration.custom.migration.connector.UpdateDocumentConverterTo102"/>
</releases>
<releases/>
</history:History>
bundles/plugins/org.bonitasoft.studio.common/src/org/bonitasoft/studio/common/ModelVersion.java
View file @
be963a43
...
...
@@ -20,7 +20,7 @@ package org.bonitasoft.studio.common;
public
class
ModelVersion
{
public
static
final
String
VERSION_6_0_0_ALPHA
=
"6.0.0-Alpha"
;
public
static
final
String
CURRENT_VERSION
=
"7.2.0-00
1
"
;
public
static
final
String
CURRENT_VERSION
=
"7.2.0-00
2
"
;
public
static
boolean
sameVersion
(
final
String
version
)
{
return
CURRENT_VERSION
.
equals
(
version
);
...
...
bundles/plugins/org.bonitasoft.studio.migration/src/org/bonitasoft/studio/migration/custom/migration/connector/UpdateDocumentConverterTo102.java
0 → 100644
View file @
be963a43
/**
* Copyright (C) 2015 Bonitasoft S.A.
* Bonitasoft, 32 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package
org.bonitasoft.studio.migration.custom.migration.connector
;
import
java.util.Objects
;
/**
* @author Romain Bioteau
*/
public
class
UpdateDocumentConverterTo102
extends
UpdateConnectorVersionMigration
{
private
static
final
String
DOCUEMENT_CONVERTER_DEF_ID
=
"document-converter"
;
@Override
protected
String
getNewDefinitionVersion
()
{
return
"1.0.2"
;
}
@Override
protected
String
getOldDefinitionVersion
()
{
return
"1.0.1"
;
}
@Override
protected
boolean
shouldUpdateVersion
(
final
String
defId
)
{
return
Objects
.
equals
(
defId
,
DOCUEMENT_CONVERTER_DEF_ID
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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