org.opendaylight.odlparent.bundlestest.lib.TimeInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odlparent-docs Show documentation
Show all versions of odlparent-docs Show documentation
ODL Root Parent documentation
The newest version!
/*
* Copyright (c) 2017 Red Hat, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.odlparent.bundlestest.lib;
/**
* Value Object for elapsed and remaining time.
*
* @author Michael Vorburger.ch
*/
public record TimeInfo(long elapsedTimeInMS, long remainingTimeInMS) {
@Deprecated(since = "13.0.5", forRemoval = true)
public long getElapsedTimeInMS() {
return elapsedTimeInMS;
}
@Deprecated(since = "13.0.5", forRemoval = true)
public long getRemainingTimeInMS() {
return remainingTimeInMS;
}
@Override
public String toString() {
return "TimeInfo [elapsedTimeInMS=" + elapsedTimeInMS + ", remainingTimeInMS=" + remainingTimeInMS + "]";
}
}