Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TeeTime-Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nelson Tavares de Sousa
TeeTime-Framework
Commits
a3302e19
Commit
a3302e19
authored
9 years ago
by
Christian Wulf
Browse files
Options
Downloads
Patches
Plain Diff
minor refactorings
parent
d1b7f47a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/teetime/framework/AbstractPort.java
+16
-20
16 additions, 20 deletions
src/main/java/teetime/framework/AbstractPort.java
src/site/markdown/wiki
+0
-1
0 additions, 1 deletion
src/site/markdown/wiki
with
16 additions
and
21 deletions
src/main/java/teetime/framework/AbstractPort.java
+
16
−
20
View file @
a3302e19
...
...
@@ -19,47 +19,43 @@ import teetime.framework.pipe.IPipe;
public
abstract
class
AbstractPort
<
T
>
{
private
final
String
portName
;
protected
IPipe
pipe
;
/**
* The type of this port.
* <p>
* <i>Used to validate the connection between two ports at runtime.</i>
* </p>
*/
pr
otec
te
d
final
Class
<
T
>
type
;
pr
iva
te
final
Class
<
T
>
type
;
private
final
Stage
owningStage
;
private
final
String
name
;
public
AbstractPort
(
final
Class
<
T
>
type
,
final
Stage
owningStage
,
final
String
portName
)
{
protected
IPipe
pipe
;
public
AbstractPort
(
final
Class
<
T
>
type
,
final
Stage
owningStage
,
final
String
name
)
{
super
();
this
.
portName
=
portName
;
this
.
type
=
type
;
this
.
owningStage
=
owningStage
;
this
.
name
=
(
name
!=
null
)
?
name
:
super
.
toString
();
}
public
IPipe
get
Pi
pe
()
{
return
this
.
pi
pe
;
public
Class
<
T
>
get
Ty
pe
()
{
return
this
.
ty
pe
;
}
public
void
setPipe
(
final
IPipe
pipe
)
{
this
.
pipe
=
pip
e
;
public
Stage
getOwningStage
(
)
{
return
owningStag
e
;
}
public
Class
<
T
>
get
Ty
pe
()
{
return
this
.
ty
pe
;
public
IPipe
get
Pi
pe
()
{
return
this
.
pi
pe
;
}
public
final
Stage
getOwningStage
(
)
{
return
owningStag
e
;
public
void
setPipe
(
final
IPipe
pipe
)
{
this
.
pipe
=
pip
e
;
}
@Override
public
final
String
toString
()
{
if
(
portName
==
null
)
{
return
super
.
toString
();
}
else
{
return
portName
;
}
public
String
toString
()
{
return
name
;
}
}
This diff is collapsed.
Click to expand it.
wiki
@
709c839c
Subproject commit 709c839c447a50c93b37fcc633a01297115d4823
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