X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fprocess%2FSlcExecution.java;h=9445b102909e78cb1fa99aebdcc91794ac0f0cc7;hb=b811ec0603b1e596f26eee8a5378c6294cba495d;hp=88d37c4f581db65e5087463663b6380e9bf0f543;hpb=2e5b26763f0e44d4be7c302aebcb759726de4d1f;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java index 88d37c4f5..9445b1029 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2010 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.argeo.slc.process; import java.io.Serializable; @@ -131,7 +147,7 @@ public class SlcExecution implements Serializable { if (steps.size() == 0) return null; else - return steps.get(0).getBegin(); + return steps.get(0).getTimestamp(); } } @@ -143,7 +159,7 @@ public class SlcExecution implements Serializable { if (steps.size() == 0) return null; else - return steps.get(steps.size() - 1).getBegin(); + return steps.get(steps.size() - 1).getTimestamp(); } }