留言板
ProgressTracker in 6.2
Hi!
The class com.liferay.portal.kernel.util.ProgressTracker in 6.1 have
I have find two method but I don´t know which is the correct to migration
Thanks in advance
The class com.liferay.portal.kernel.util.ProgressTracker in 6.1 have
setProgress(int progress)
method, but in 6.2 version this method isn´tI have find two method but I don´t know which is the correct to migration
setPercent(int percent)
setStatus(int status)
Thanks in advance
Alberto Martínez:
Hi!
The class com.liferay.portal.kernel.util.ProgressTracker in 6.1 havemethod, but in 6.2 version this method isn´tsetProgress(int progress)
I have find two method but I don´t know which is the correct to migrationsetPercent(int percent) setStatus(int status)
Thanks in advance
Take a look possible values for status:
https://github.com/liferay/liferay-portal/blob/6.2.x/portal-service/src/com/liferay/portal/kernel/util/ProgressStatusConstants.java#L22-L28
And I think older setProgress should be equivalent to new setPercent.