
com.causecode.seo.sitemap.Url.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nucleus Show documentation
Show all versions of nucleus Show documentation
nucleus is a Grails-Groovy plugin which contains utility methods, classes and endpoints.
/*
* Copyright (c) 2016, CauseCode Technologies Pvt Ltd, India.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are not permitted.
*/
package com.causecode.seo.sitemap
import groovy.transform.EqualsAndHashCode
import groovy.transform.ToString
/**
* Url groovy class used to specify information related to URL's.
*/
@ToString(includes = ['id'], includePackage = false)
@EqualsAndHashCode
class Url {
float priority = 0.0
String changefreq
String loc
static belongsTo = [Sitemap]
static constraints = {
loc url: true
changefreq nullable: true
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy