Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
a339fbd4
Commit
a339fbd4
authored
14 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
SE-236 extend DefaultStorageProcessor
SVN: 15536
parent
4edbaa17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore_server/source/java/ch/systemsx/cisd/etlserver/DefaultStorageProcessor.java
+12
-0
12 additions, 0 deletions
...a/ch/systemsx/cisd/etlserver/DefaultStorageProcessor.java
with
12 additions
and
0 deletions
datastore_server/source/java/ch/systemsx/cisd/etlserver/DefaultStorageProcessor.java
+
12
−
0
View file @
a339fbd4
...
@@ -64,9 +64,21 @@ public class DefaultStorageProcessor extends AbstractStorageProcessor
...
@@ -64,9 +64,21 @@ public class DefaultStorageProcessor extends AbstractStorageProcessor
throw
new
EnvironmentFailureException
(
String
.
format
(
NO_RENAME
,
throw
new
EnvironmentFailureException
(
String
.
format
(
NO_RENAME
,
incomingDataSetDirectory
,
targetFile
));
incomingDataSetDirectory
,
targetFile
));
}
}
transform
(
targetFile
,
rootDir
);
return
rootDir
;
return
rootDir
;
}
}
/**
* Transforms the specified original data set and stores it in the specified folder. Note, that
* the target folder is the rootDir argument of
* {@link IStorageProcessor#storeData(DataSetInformation, ITypeExtractor, IMailClient, File, File)}.
* This implementation does nothing.
*/
protected
void
transform
(
File
originalDataSet
,
File
targetFolderForTransformedDataSet
)
{
}
public
UnstoreDataAction
rollback
(
final
File
incomingDataSetDirectory
,
public
UnstoreDataAction
rollback
(
final
File
incomingDataSetDirectory
,
final
File
storedDataDirectory
,
Throwable
exception
)
final
File
storedDataDirectory
,
Throwable
exception
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment