Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KWH40
fml40-reference-implementation
Commits
d15eef1c
Commit
d15eef1c
authored
Dec 03, 2020
by
GromeTT
Browse files
ENH: Added Documentation for AcceptsLogTransportationJobs
parent
d4bae73d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ml/fml40/features/functionalities/accepts_log_transportaition_jobs.py
View file @
d15eef1c
"""This module implements the class AcceptsLogTransportationJobs."""
from
ml.ml40.features.functionalities.accepts_jobs
import
AcceptsJobs
from
ml.fml40.features.properties.values.documents.jobs.log_transportation_job
import
LogTransportationJob
class
AcceptsLogTransportationJobs
(
AcceptsJobs
):
"""This functionality signalizes that LogTransportationJobs can be
processed."""
def
__init__
(
self
,
name
=
""
,
identifier
=
""
):
"""Initializes the object.
:param name: Object name
:param identifier: Identifier
"""
super
().
__init__
(
name
=
name
,
identifier
=
identifier
)
def
acceptJob
(
self
,
job
:
LogTransportationJob
)
->
bool
:
"""Accepts the given LogTransportationJob. Returns true if the job has
been accepted, otherwise returns false.
:param job: LogTransportationJob to be accepted
:rtype: bool
"""
pass
Write
Preview
Supports
Markdown
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