Short-свойства#
package org.my.pack;
import ru.tinkoff.qa.neptune.core.api.properties.PropertyName;
import ru.tinkoff.qa.neptune.core.api.properties.shorts.ShortValuePropertySupplier;
@PropertyName("MY_PROPERTY")
public class MyShortProperty implements ShortValuePropertySupplier {
public static final MyShortProperty PROPERTY = new MyShortProperty();
}
MY_PROPERTY=2
package org.my.pack;
import static org.my.pack.MyShortProperty.PROPERTY;
public class MyUseCase {
public void useCase() {
//чтение
Short value = PROPERTY.get();
}
}