com.github.kmbulebu.nicknack.providers.pushover.UrlTitleParameterDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pushover-provider Show documentation
Show all versions of pushover-provider Show documentation
PushOver Provider for NickNack
package com.github.kmbulebu.nicknack.providers.pushover;
import java.util.Collection;
import java.util.Collections;
import java.util.UUID;
import com.github.kmbulebu.nicknack.core.actions.parameters.BasicParameterDefinition;
import com.github.kmbulebu.nicknack.core.units.StringUnit;
public class UrlTitleParameterDefinition extends BasicParameterDefinition {
public static final UUID DEF_UUID = UUID.fromString("94d43959-581c-483b-9301-e2b1b09bc7a2");
public static final UrlTitleParameterDefinition INSTANCE = new UrlTitleParameterDefinition();
public UrlTitleParameterDefinition() {
super(DEF_UUID, "Url Title", StringUnit.INSTANCE, false);
}
@Override
public String format(String rawValue) {
return rawValue;
}
@Override
public Collection validate(String value) {
return Collections.emptyList();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy