All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.plugins.jira.domain.CustomFieldCast Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
package net.serenitybdd.plugins.jira.domain;

import java.util.List;


public class CustomFieldCast {
    private final Object customFieldValue;

    public CustomFieldCast(Object customFieldValue) {
        this.customFieldValue = customFieldValue;
    }

    public String asString() {
        return (String) customFieldValue;
    }

    public  List asListOf(T type) {
        return (List) customFieldValue;
    }

    public Object value() {
        return customFieldValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy