Fórum
ProgressTracker in 6.2
Alberto Martínez, modificado 7 Anos atrás.
ProgressTracker in 6.2
New Member Postagens: 23 Data de Entrada: 04/12/15 Postagens Recentes
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
Juan Gonzalez, modificado 7 Anos atrás.
RE: ProgressTracker in 6.2 (Resposta)
Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens RecentesAlberto 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.