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
b8c3842c
Commit
b8c3842c
authored
14 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2131 Added support for TopLevelDataHandler in the DSS-RPC mechanism.
SVN: 20468
parent
05ff2f9c
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
screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/JythonPlateDataSetHandler.java
+11
-6
11 additions, 6 deletions
...isd/openbis/dss/etl/jython/JythonPlateDataSetHandler.java
with
11 additions
and
6 deletions
screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/JythonPlateDataSetHandler.java
+
11
−
6
View file @
b8c3842c
...
@@ -50,9 +50,10 @@ public class JythonPlateDataSetHandler extends JythonTopLevelDataSetHandler<Data
...
@@ -50,9 +50,10 @@ public class JythonPlateDataSetHandler extends JythonTopLevelDataSetHandler<Data
*/
*/
@Override
@Override
protected
IDataSetRegistrationDetailsFactory
<
DataSetInformation
>
createObjectFactory
(
protected
IDataSetRegistrationDetailsFactory
<
DataSetInformation
>
createObjectFactory
(
PythonInterpreter
interpreter
)
PythonInterpreter
interpreter
,
DataSetInformation
userProvidedDataSetInformationOrNull
)
{
{
return
new
JythonPlateDatasetFactory
(
getRegistratorState
());
return
new
JythonPlateDatasetFactory
(
getRegistratorState
(),
userProvidedDataSetInformationOrNull
);
}
}
public
static
class
JythonPlateDatasetFactory
extends
JythonObjectFactory
<
DataSetInformation
>
public
static
class
JythonPlateDatasetFactory
extends
JythonObjectFactory
<
DataSetInformation
>
...
@@ -61,11 +62,14 @@ public class JythonPlateDataSetHandler extends JythonTopLevelDataSetHandler<Data
...
@@ -61,11 +62,14 @@ public class JythonPlateDataSetHandler extends JythonTopLevelDataSetHandler<Data
private
final
IDataSetRegistrationDetailsFactory
<
FeatureVectorDataSetInformation
>
featureVectorDatasetFactory
;
private
final
IDataSetRegistrationDetailsFactory
<
FeatureVectorDataSetInformation
>
featureVectorDatasetFactory
;
public
JythonPlateDatasetFactory
(
OmniscientTopLevelDataSetRegistratorState
registratorState
)
public
JythonPlateDatasetFactory
(
OmniscientTopLevelDataSetRegistratorState
registratorState
,
DataSetInformation
userProvidedDataSetInformationOrNull
)
{
{
super
(
registratorState
);
super
(
registratorState
,
userProvidedDataSetInformationOrNull
);
this
.
imageDatasetFactory
=
this
.
imageDatasetFactory
=
new
JythonObjectFactory
<
ImageDataSetInformation
>(
this
.
registratorState
)
new
JythonObjectFactory
<
ImageDataSetInformation
>(
this
.
registratorState
,
this
.
userProvidedDataSetInformationOrNull
)
{
{
@Override
@Override
protected
ImageDataSetInformation
createDataSetInformation
()
protected
ImageDataSetInformation
createDataSetInformation
()
...
@@ -74,7 +78,8 @@ public class JythonPlateDataSetHandler extends JythonTopLevelDataSetHandler<Data
...
@@ -74,7 +78,8 @@ public class JythonPlateDataSetHandler extends JythonTopLevelDataSetHandler<Data
}
}
};
};
this
.
featureVectorDatasetFactory
=
this
.
featureVectorDatasetFactory
=
new
JythonObjectFactory
<
FeatureVectorDataSetInformation
>(
this
.
registratorState
)
new
JythonObjectFactory
<
FeatureVectorDataSetInformation
>(
this
.
registratorState
,
this
.
userProvidedDataSetInformationOrNull
)
{
{
@Override
@Override
protected
FeatureVectorDataSetInformation
createDataSetInformation
()
protected
FeatureVectorDataSetInformation
createDataSetInformation
()
...
...
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