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